Logo
Reference manual - version qle_version
PiecewiseConstantHelper1 Class Reference

Piecewise Constant Helper 1. More...

#include <qle/models/piecewiseconstanthelper.hpp>

Inheritance diagram for PiecewiseConstantHelper1:

Public Member Functions

 PiecewiseConstantHelper1 (const Array &t, const QuantLib::ext::shared_ptr< QuantLib::Constraint > &constraint=QuantLib::ext::make_shared< QuantLib::NoConstraint >(), const bool rcll=true)
 PiecewiseConstantHelper1 (const std::vector< Date > &dates, const Handle< YieldTermStructure > &yts, const QuantLib::ext::shared_ptr< QuantLib::Constraint > &constraint=QuantLib::ext::make_shared< QuantLib::NoConstraint >(), const bool rcll=true)
const Array & t () const
const QuantLib::ext::shared_ptr< Parameterp () const
void update () const
Real y (const Time t) const
Real int_y_sqr (const Time t) const
 int_0^t y^2(s) ds
Real direct (const Real x) const
Real inverse (const Real y) const

Protected Attributes

const Array t_
QuantLib::ext::shared_ptr< PseudoParametery_

Detailed Description

Piecewise Constant Helper 1.

Member Function Documentation

◆ y()

Real y ( const Time t) const

this returns the transformed value

Member Data Documentation

◆ y_

QuantLib::ext::shared_ptr<PseudoParameter> y_
protected

y are the raw values in the sense of parameter transformation