QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
transformed grid More...
#include <transformedgrid.hpp>
Public Member Functions | |
TransformedGrid (const Array &grid) | |
template<class T > | |
TransformedGrid (const Array &grid, T func) | |
const Array & | gridArray () const |
const Array & | transformedGridArray () const |
const Array & | dxmArray () const |
const Array & | dxpArray () const |
const Array & | dxArray () const |
Real | grid (Size i) const |
Real | transformedGrid (Size i) const |
Real | dxm (Size i) const |
Real | dxp (Size i) const |
Real | dx (Size i) const |
Size | size () const |
Protected Attributes | |
Array | grid_ |
Array | transformedGrid_ |
Array | dxm_ |
Array | dxp_ |
Array | dx_ |
transformed grid
This package encapuslates an array of grid points. It is used primarily in PDE calculations.
Definition at line 37 of file transformedgrid.hpp.
TransformedGrid | ( | const Array & | grid | ) |
TransformedGrid | ( | const Array & | grid, |
T | func | ||
) |
const Array & gridArray | ( | ) | const |
Definition at line 75 of file transformedgrid.hpp.
const Array & transformedGridArray | ( | ) | const |
Definition at line 76 of file transformedgrid.hpp.
const Array & dxmArray | ( | ) | const |
Definition at line 77 of file transformedgrid.hpp.
const Array & dxpArray | ( | ) | const |
Definition at line 78 of file transformedgrid.hpp.
const Array & dxArray | ( | ) | const |
Definition at line 79 of file transformedgrid.hpp.
Definition at line 82 of file transformedgrid.hpp.
Size size | ( | ) | const |
Definition at line 86 of file transformedgrid.hpp.
|
protected |
Definition at line 89 of file transformedgrid.hpp.
|
protected |
Definition at line 90 of file transformedgrid.hpp.
|
protected |
Definition at line 91 of file transformedgrid.hpp.
|
protected |
Definition at line 92 of file transformedgrid.hpp.
|
protected |
Definition at line 93 of file transformedgrid.hpp.