QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
NoArbSabr Class Reference

no arbtrage sabr interpolation factory and traits More...

#include <ql/experimental/volatility/noarbsabrinterpolation.hpp>

+ Collaboration diagram for NoArbSabr:

Public Member Functions

 NoArbSabr (Time t, Real forward, Real alpha, Real beta, Real nu, Real rho, bool alphaIsFixed, bool betaIsFixed, bool nuIsFixed, bool rhoIsFixed, bool vegaWeighted=false, ext::shared_ptr< EndCriteria > endCriteria=ext::shared_ptr< EndCriteria >(), ext::shared_ptr< OptimizationMethod > optMethod=ext::shared_ptr< OptimizationMethod >(), const Real errorAccept=0.0020, const bool useMaxError=false, const Size maxGuesses=50)
 
template<class I1 , class I2 >
Interpolation interpolate (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin) const
 

Static Public Attributes

static const bool global = true
 

Private Attributes

Time t_
 
Real forward_
 
Real alpha_
 
Real beta_
 
Real nu_
 
Real rho_
 
bool alphaIsFixed_
 
bool betaIsFixed_
 
bool nuIsFixed_
 
bool rhoIsFixed_
 
bool vegaWeighted_
 
const ext::shared_ptr< EndCriteriaendCriteria_
 
const ext::shared_ptr< OptimizationMethodoptMethod_
 
const Real errorAccept_
 
const bool useMaxError_
 
const Size maxGuesses_
 

Detailed Description

no arbtrage sabr interpolation factory and traits

Definition at line 241 of file noarbsabrinterpolation.hpp.

Constructor & Destructor Documentation

◆ NoArbSabr()

NoArbSabr ( Time  t,
Real  forward,
Real  alpha,
Real  beta,
Real  nu,
Real  rho,
bool  alphaIsFixed,
bool  betaIsFixed,
bool  nuIsFixed,
bool  rhoIsFixed,
bool  vegaWeighted = false,
ext::shared_ptr< EndCriteria endCriteria = ext::shared_ptr<EndCriteria>(),
ext::shared_ptr< OptimizationMethod optMethod = ext::shared_ptr<OptimizationMethod>(),
const Real  errorAccept = 0.0020,
const bool  useMaxError = false,
const Size  maxGuesses = 50 
)

Definition at line 243 of file noarbsabrinterpolation.hpp.

Member Function Documentation

◆ interpolate()

Interpolation interpolate ( const I1 &  xBegin,
const I1 &  xEnd,
const I2 &  yBegin 
) const

Definition at line 265 of file noarbsabrinterpolation.hpp.

Member Data Documentation

◆ global

const bool global = true
static

Definition at line 272 of file noarbsabrinterpolation.hpp.

◆ t_

Time t_
private

Definition at line 275 of file noarbsabrinterpolation.hpp.

◆ forward_

Real forward_
private

Definition at line 276 of file noarbsabrinterpolation.hpp.

◆ alpha_

Real alpha_
private

Definition at line 277 of file noarbsabrinterpolation.hpp.

◆ beta_

Real beta_
private

Definition at line 277 of file noarbsabrinterpolation.hpp.

◆ nu_

Real nu_
private

Definition at line 277 of file noarbsabrinterpolation.hpp.

◆ rho_

Real rho_
private

Definition at line 277 of file noarbsabrinterpolation.hpp.

◆ alphaIsFixed_

bool alphaIsFixed_
private

Definition at line 278 of file noarbsabrinterpolation.hpp.

◆ betaIsFixed_

bool betaIsFixed_
private

Definition at line 278 of file noarbsabrinterpolation.hpp.

◆ nuIsFixed_

bool nuIsFixed_
private

Definition at line 278 of file noarbsabrinterpolation.hpp.

◆ rhoIsFixed_

bool rhoIsFixed_
private

Definition at line 278 of file noarbsabrinterpolation.hpp.

◆ vegaWeighted_

bool vegaWeighted_
private

Definition at line 279 of file noarbsabrinterpolation.hpp.

◆ endCriteria_

const ext::shared_ptr<EndCriteria> endCriteria_
private

Definition at line 280 of file noarbsabrinterpolation.hpp.

◆ optMethod_

const ext::shared_ptr<OptimizationMethod> optMethod_
private

Definition at line 281 of file noarbsabrinterpolation.hpp.

◆ errorAccept_

const Real errorAccept_
private

Definition at line 282 of file noarbsabrinterpolation.hpp.

◆ useMaxError_

const bool useMaxError_
private

Definition at line 283 of file noarbsabrinterpolation.hpp.

◆ maxGuesses_

const Size maxGuesses_
private

Definition at line 284 of file noarbsabrinterpolation.hpp.