fractionRate.hpp
Go to the documentation of this file.
FractionRate(double input=1.0)
Constructor.
Definition: fractionRate.hpp:29
virtual FractionRate * clone() const
Virtual copy constructor.
Definition: fractionRate.cpp:32
The class encapsulates the fraction rate compounding method.
Definition: fractionRate.hpp:25
File contains interface of interest rate compounding concept.
double frequency_
Compounding frequency used by interest rate.
Definition: fractionRate.hpp:50
Definition: cadHoliday.cpp:3
virtual double getRate(double future_value, double accrual_time) const
Calculates interest rate.
Definition: fractionRate.cpp:24
virtual std::string info() const
Info about class.
Definition: fractionRate.cpp:49
Class is an abstract class expressing the concept of compounding interest rate.
Definition: compounding.hpp:23
void serialize(Archive &ar, const unsigned int)
interface used by Boost serialization library
Definition: fractionRate.hpp:45
virtual double getCapitalization(double interest_rate, double accrual_time) const
Calculates future value.
Definition: fractionRate.cpp:14
friend std::ostream & operator<<(std::ostream &s, FractionRate &c)
Overloads stream operator.
Definition: fractionRate.cpp:40