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

Standard constant parameter \( a(t) = a \). More...

#include <parameter.hpp>

+ Inheritance diagram for ConstantParameter:
+ Collaboration diagram for ConstantParameter:

Classes

class  Impl
 

Public Member Functions

 ConstantParameter (const Constraint &constraint)
 
 ConstantParameter (Real value, const Constraint &constraint)
 
- Public Member Functions inherited from Parameter
 Parameter ()
 
const Arrayparams () const
 
void setParam (Size i, Real x)
 
bool testParams (const Array &params) const
 
Size size () const
 
Real operator() (Time t) const
 
const ext::shared_ptr< Impl > & implementation () const
 
const Constraintconstraint () const
 

Additional Inherited Members

- Protected Member Functions inherited from Parameter
 Parameter (Size size, ext::shared_ptr< Impl > impl, Constraint constraint)
 
- Protected Attributes inherited from Parameter
ext::shared_ptr< Implimpl_
 
Array params_
 
Constraint constraint_
 

Detailed Description

Standard constant parameter \( a(t) = a \).

Definition at line 71 of file parameter.hpp.

Constructor & Destructor Documentation

◆ ConstantParameter() [1/2]

ConstantParameter ( const Constraint constraint)

Definition at line 78 of file parameter.hpp.

◆ ConstantParameter() [2/2]

ConstantParameter ( Real  value,
const Constraint constraint 
)

Definition at line 85 of file parameter.hpp.

+ Here is the call graph for this function: