QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdmsimplestoragecondition.hpp>
Public Member Functions | |
FdmSimpleStorageCondition (std::vector< Time > exerciseTimes, ext::shared_ptr< FdmMesher > mesher, ext::shared_ptr< FdmInnerValueCalculator > calculator, Real changeRate) | |
void | applyTo (Array &a, Time t) const override |
Public Member Functions inherited from StepCondition< Array > | |
virtual | ~StepCondition ()=default |
virtual void | applyTo (Array &a, Time t) const=0 |
Private Attributes | |
const std::vector< Time > | exerciseTimes_ |
const ext::shared_ptr< FdmMesher > | mesher_ |
const ext::shared_ptr< FdmInnerValueCalculator > | calculator_ |
const Real | changeRate_ |
std::vector< Real > | x_ |
std::vector< Real > | y_ |
Definition at line 34 of file fdmsimplestoragecondition.hpp.
FdmSimpleStorageCondition | ( | std::vector< Time > | exerciseTimes, |
ext::shared_ptr< FdmMesher > | mesher, | ||
ext::shared_ptr< FdmInnerValueCalculator > | calculator, | ||
Real | changeRate | ||
) |
Definition at line 28 of file fdmsimplestoragecondition.cpp.
Implements StepCondition< Array >.
Definition at line 49 of file fdmsimplestoragecondition.cpp.
|
private |
Definition at line 44 of file fdmsimplestoragecondition.hpp.
|
private |
Definition at line 45 of file fdmsimplestoragecondition.hpp.
|
private |
Definition at line 46 of file fdmsimplestoragecondition.hpp.
|
private |
Definition at line 47 of file fdmsimplestoragecondition.hpp.
|
private |
Definition at line 49 of file fdmsimplestoragecondition.hpp.
|
private |
Definition at line 49 of file fdmsimplestoragecondition.hpp.