QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PdeOperator< PdeClass > Class Template Reference

#include <pde.hpp>

+ Inheritance diagram for PdeOperator< PdeClass >:
+ Collaboration diagram for PdeOperator< PdeClass >:

Public Member Functions

template<class T >
 PdeOperator (const Array &grid, T process, Time residualTime=0.0)
 
- Public Member Functions inherited from TridiagonalOperator
 TridiagonalOperator (Size size=0)
 
 TridiagonalOperator (const Array &low, const Array &mid, const Array &high)
 
 TridiagonalOperator (const TridiagonalOperator &)=default
 
 TridiagonalOperator (TridiagonalOperator &&) noexcept
 
TridiagonalOperatoroperator= (const TridiagonalOperator &)
 
TridiagonalOperatoroperator= (TridiagonalOperator &&) noexcept
 
 ~TridiagonalOperator ()=default
 
Size size () const
 
bool isTimeDependent () const
 
const ArraylowerDiagonal () const
 
const Arraydiagonal () const
 
const ArrayupperDiagonal () const
 
void setFirstRow (Real, Real)
 
void setMidRow (Size, Real, Real, Real)
 
void setMidRows (Real, Real, Real)
 
void setLastRow (Real, Real)
 
void setTime (Time t)
 
void swap (TridiagonalOperator &) noexcept
 
Array applyTo (const Array &v) const
 apply operator to a given array More...
 
Array solveFor (const Array &rhs) const
 solve linear system for a given right-hand side More...
 
void solveFor (const Array &rhs, Array &result) const
 
Array SOR (const Array &rhs, Real tol) const
 solve linear system with SOR approach More...
 

Additional Inherited Members

- Public Types inherited from TridiagonalOperator
typedef Array array_type
 
- Static Public Member Functions inherited from TridiagonalOperator
static TridiagonalOperator identity (Size size)
 identity instance More...
 
- Protected Attributes inherited from TridiagonalOperator
Size n_
 
Array diagonal_
 
Array lowerDiagonal_
 
Array upperDiagonal_
 
Array temp_
 
ext::shared_ptr< TimeSettertimeSetter_
 

Detailed Description

template<class PdeClass>
class QuantLib::PdeOperator< PdeClass >

Definition at line 90 of file pde.hpp.

Constructor & Destructor Documentation

◆ PdeOperator()

PdeOperator ( const Array grid,
T  process,
Time  residualTime = 0.0 
)

Definition at line 93 of file pde.hpp.

+ Here is the call graph for this function: