Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
PiecewiseConstantHelper11 Class Reference

Piecewise Constant Helper 11. More...

#include <qle/models/piecewiseconstanthelper.hpp>

+ Inheritance diagram for PiecewiseConstantHelper11:
+ Collaboration diagram for PiecewiseConstantHelper11:

Public Member Functions

 PiecewiseConstantHelper11 (const Array &t1, const Array &t2, const QuantLib::ext::shared_ptr< QuantLib::Constraint > &constraint1=QuantLib::ext::make_shared< QuantLib::NoConstraint >(), const QuantLib::ext::shared_ptr< QuantLib::Constraint > &constraint2=QuantLib::ext::make_shared< QuantLib::NoConstraint >())
 
 PiecewiseConstantHelper11 (const std::vector< Date > &dates1, const std::vector< Date > &dates2, const Handle< YieldTermStructure > &yts, const QuantLib::ext::shared_ptr< QuantLib::Constraint > &constraint1=QuantLib::ext::make_shared< QuantLib::NoConstraint >(), const QuantLib::ext::shared_ptr< QuantLib::Constraint > &constraint2=QuantLib::ext::make_shared< QuantLib::NoConstraint >())
 
const PiecewiseConstantHelper1helper1 () const
 
const PiecewiseConstantHelper1helper2 () const
 

Private Attributes

const PiecewiseConstantHelper1 h1_
 
const PiecewiseConstantHelper1 h2_
 

Detailed Description

Piecewise Constant Helper 11.

this is PiecewiseConstantHelper1 with two sets of (t,y)

Definition at line 71 of file piecewiseconstanthelper.hpp.

Constructor & Destructor Documentation

◆ PiecewiseConstantHelper11() [1/2]

PiecewiseConstantHelper11 ( const Array &  t1,
const Array &  t2,
const QuantLib::ext::shared_ptr< QuantLib::Constraint > &  constraint1 = QuantLib::ext::make_shared< QuantLib::NoConstraint >(),
const QuantLib::ext::shared_ptr< QuantLib::Constraint > &  constraint2 = QuantLib::ext::make_shared< QuantLib::NoConstraint >() 
)

y are the raw values in the sense of parameter transformation

◆ PiecewiseConstantHelper11() [2/2]

PiecewiseConstantHelper11 ( const std::vector< Date > &  dates1,
const std::vector< Date > &  dates2,
const Handle< YieldTermStructure > &  yts,
const QuantLib::ext::shared_ptr< QuantLib::Constraint > &  constraint1 = QuantLib::ext::make_shared< QuantLib::NoConstraint >(),
const QuantLib::ext::shared_ptr< QuantLib::Constraint > &  constraint2 = QuantLib::ext::make_shared< QuantLib::NoConstraint >() 
)

Member Function Documentation

◆ helper1()

const PiecewiseConstantHelper1 & helper1 ( ) const

Definition at line 189 of file piecewiseconstanthelper.hpp.

189{ return h1_; }

◆ helper2()

const PiecewiseConstantHelper1 & helper2 ( ) const

Definition at line 191 of file piecewiseconstanthelper.hpp.

191{ return h2_; }

Member Data Documentation

◆ h1_

const PiecewiseConstantHelper1 h1_
private

Definition at line 86 of file piecewiseconstanthelper.hpp.

◆ h2_

const PiecewiseConstantHelper1 h2_
private

Definition at line 86 of file piecewiseconstanthelper.hpp.