QuantLib: ConstantParameter Class Reference

A free/open-source library for quantitative finance Reference manual - version 1.12

Public Member Functions | List of all members
ConstantParameter Class Reference

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

`#include <ql/models/parameter.hpp>`

Inheritance diagram for ConstantParameter:
[legend]

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

## Additional Inherited Members
Protected Member Functions inherited from Parameter
| Parameter (Size size, const boost::shared_ptr< Impl > &impl, const Constraint &constraint)
Protected Attributes inherited from Parameter
boost::shared_ptr< Impl > | impl_
Array | params_
Constraint | constraint_

## Detailed Description

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