QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <pde.hpp>
Public Member Functions | |
PdeConstantCoeff (const typename PdeClass::argument_type &process, Time t, Real x) | |
Real | diffusion (Time, Real) const override |
Real | drift (Time, Real) const override |
Real | discount (Time, Real) const override |
Public Member Functions inherited from PdeSecondOrderParabolic | |
virtual | ~PdeSecondOrderParabolic ()=default |
virtual Real | diffusion (Time t, Real x) const =0 |
virtual Real | drift (Time t, Real x) const =0 |
virtual Real | discount (Time t, Real x) const =0 |
virtual void | generateOperator (Time t, const TransformedGrid &tg, TridiagonalOperator &L) const |
Private Attributes | |
Real | diffusion_ |
Real | drift_ |
Real | discount_ |
PdeConstantCoeff | ( | const typename PdeClass::argument_type & | process, |
Time | t, | ||
Real | x | ||
) |
Implements PdeSecondOrderParabolic.
Implements PdeSecondOrderParabolic.
Implements PdeSecondOrderParabolic.