QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
Cumulative normal distribution function. More...
#include <ql/math/distributions/normaldistribution.hpp>
Public Member Functions | |
CumulativeNormalDistribution (Real average=0.0, Real sigma=1.0) | |
Real | operator() (Real x) const |
Real | derivative (Real x) const |
Public Attributes | |
QL_DEPRECATED typedef Real | argument_type |
QL_DEPRECATED typedef Real | result_type |
Private Attributes | |
Real | average_ |
Real | sigma_ |
NormalDistribution | gaussian_ |
ErrorFunction | errorFunction_ |
Cumulative normal distribution function.
Given x it provides an approximation to the integral of the gaussian normal distribution: formula here ...
For this implementation see M. Abramowitz and I. Stegun, Handbook of Mathematical Functions, Dover Publications, New York (1972)
Definition at line 80 of file normaldistribution.hpp.
CumulativeNormalDistribution | ( | Real | average = 0.0 , |
Real | sigma = 1.0 |
||
) |
Definition at line 359 of file normaldistribution.hpp.
Definition at line 30 of file normaldistribution.cpp.
QL_DEPRECATED typedef Real argument_type |
auto
or decltype
instead. Deprecated in version 1.29. Definition at line 86 of file normaldistribution.hpp.
QL_DEPRECATED typedef Real result_type |
auto
or decltype
instead. Deprecated in version 1.29. Definition at line 92 of file normaldistribution.hpp.
|
private |
Definition at line 100 of file normaldistribution.hpp.
|
private |
Definition at line 100 of file normaldistribution.hpp.
|
private |
Definition at line 101 of file normaldistribution.hpp.
|
private |
Definition at line 102 of file normaldistribution.hpp.