QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Base class for model arguments. More...
#include <parameter.hpp>
Classes | |
class | Impl |
Base class for model parameter implementation. More... | |
Public Member Functions | |
Parameter () | |
const Array & | params () const |
void | setParam (Size i, Real x) |
bool | testParams (const Array ¶ms) const |
Size | size () const |
Real | operator() (Time t) const |
const ext::shared_ptr< Impl > & | implementation () const |
const Constraint & | constraint () const |
Protected Member Functions | |
Parameter (Size size, ext::shared_ptr< Impl > impl, Constraint constraint) | |
Protected Attributes | |
ext::shared_ptr< Impl > | impl_ |
Array | params_ |
Constraint | constraint_ |
Base class for model arguments.
Definition at line 38 of file parameter.hpp.
Parameter | ( | ) |
Definition at line 48 of file parameter.hpp.
|
protected |
Definition at line 64 of file parameter.hpp.
const Array & params | ( | ) | const |
Definition at line 52 of file parameter.hpp.
Size size | ( | ) | const |
Definition at line 55 of file parameter.hpp.
Definition at line 56 of file parameter.hpp.
const ext::shared_ptr< Impl > & implementation | ( | ) | const |
const Constraint & constraint | ( | ) | const |
Definition at line 62 of file parameter.hpp.
|
protected |
Definition at line 46 of file parameter.hpp.
|
protected |
Definition at line 66 of file parameter.hpp.
|
protected |
Definition at line 67 of file parameter.hpp.