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

Stochastic collocation inverse cumulative distribution function. More...

#include <ql/math/randomnumbers/stochasticcollocationinvcdf.hpp>

+ Collaboration diagram for StochasticCollocationInvCDF:

Public Member Functions

 StochasticCollocationInvCDF (const ext::function< Real(Real)> &invCDF, Size lagrangeOrder, Real pMax=Null< Real >(), Real pMin=Null< Real >())
 
Real value (Real x) const
 
Real operator() (Real u) const
 

Public Attributes

QL_DEPRECATED typedef Real argument_type
 
QL_DEPRECATED typedef Real result_type
 

Private Attributes

const Array x_
 
const Volatility sigma_
 
const Array y_
 
const LagrangeInterpolation interpl_
 

Detailed Description

Stochastic collocation inverse cumulative distribution function.

References: L.A. Grzelak, J.A.S. Witteveen, M.Suárez-Taboada, C.W. Oosterlee, The Stochastic Collocation Monte Carlo Sampler: Highly efficient sampling from “expensive” distributions http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2529691

Definition at line 42 of file stochasticcollocationinvcdf.hpp.

Constructor & Destructor Documentation

◆ StochasticCollocationInvCDF()

StochasticCollocationInvCDF ( const ext::function< Real(Real)> &  invCDF,
Size  lagrangeOrder,
Real  pMax = Null<Real>(),
Real  pMin = Null<Real>() 
)

Definition at line 45 of file stochasticcollocationinvcdf.cpp.

Member Function Documentation

◆ value()

Real value ( Real  x) const

Definition at line 58 of file stochasticcollocationinvcdf.cpp.

+ Here is the caller graph for this function:

◆ operator()()

Real operator() ( Real  u) const

Definition at line 61 of file stochasticcollocationinvcdf.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ argument_type

QL_DEPRECATED typedef Real argument_type
Deprecated:
Use auto or decltype instead. Deprecated in version 1.29.

Definition at line 48 of file stochasticcollocationinvcdf.hpp.

◆ result_type

QL_DEPRECATED typedef Real result_type
Deprecated:
Use auto or decltype instead. Deprecated in version 1.29.

Definition at line 54 of file stochasticcollocationinvcdf.hpp.

◆ x_

const Array x_
private

Definition at line 66 of file stochasticcollocationinvcdf.hpp.

◆ sigma_

const Volatility sigma_
private

Definition at line 67 of file stochasticcollocationinvcdf.hpp.

◆ y_

const Array y_
private

Definition at line 68 of file stochasticcollocationinvcdf.hpp.

◆ interpl_

const LagrangeInterpolation interpl_
private

Definition at line 69 of file stochasticcollocationinvcdf.hpp.