Discretizes the time interval into predefined number of periods . More...

#include <discretizeWithNumberOfSteps.hpp>

Inheritance diagram for julian::DiscretizeWithNumberOfSteps:
julian::TimeDiscretization

Public Member Functions

 DiscretizeWithNumberOfSteps (int n)
 Constructor. More...
 
virtual std::vector< double > operator() (Date, Date, SmartPointer< YearFraction >) const
 Discretizes the time interval into predefined number of periods. More...
 
virtual DiscretizeWithNumberOfStepsclone () const
 Virtual copy constructor. More...
 
- Public Member Functions inherited from julian::TimeDiscretization
virtual ~TimeDiscretization ()
 Destructor. More...
 

Private Attributes

int n_
 Number of grid nodes. More...
 

Detailed Description

Discretizes the time interval into predefined number of periods .

Class discretizes the time interval into predefined number of periods

Constructor & Destructor Documentation

julian::DiscretizeWithNumberOfSteps::DiscretizeWithNumberOfSteps ( int  n)
inlineexplicit

Constructor.

Member Function Documentation

DiscretizeWithNumberOfSteps * julian::DiscretizeWithNumberOfSteps::clone ( ) const
virtual

Virtual copy constructor.

Implements julian::TimeDiscretization.

std::vector< double > julian::DiscretizeWithNumberOfSteps::operator() ( Date  startDate,
Date  endDate,
SmartPointer< YearFraction yf 
) const
virtual

Discretizes the time interval into predefined number of periods.

Implements julian::TimeDiscretization.

Member Data Documentation

int julian::DiscretizeWithNumberOfSteps::n_
private

Number of grid nodes.


The documentation for this class was generated from the following files: