QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
Normal distribution function. More...
#include <ql/math/distributions/normaldistribution.hpp>
Public Member Functions | |
NormalDistribution (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_ |
Real | normalizationFactor_ |
Real | denominator_ |
Real | derNormalizationFactor_ |
Normal distribution function.
Given x, it returns its probability in a Gaussian normal distribution. It provides the first derivative too.
Definition at line 44 of file normaldistribution.hpp.
NormalDistribution | ( | Real | average = 0.0 , |
Real | sigma = 1.0 |
||
) |
Definition at line 334 of file normaldistribution.hpp.
Definition at line 347 of file normaldistribution.hpp.
QL_DEPRECATED typedef Real argument_type |
auto
or decltype
instead. Deprecated in version 1.29. Definition at line 50 of file normaldistribution.hpp.
QL_DEPRECATED typedef Real result_type |
auto
or decltype
instead. Deprecated in version 1.29. Definition at line 56 of file normaldistribution.hpp.
|
private |
Definition at line 64 of file normaldistribution.hpp.
|
private |
Definition at line 64 of file normaldistribution.hpp.
|
private |
Definition at line 64 of file normaldistribution.hpp.
|
private |
Definition at line 64 of file normaldistribution.hpp.
|
private |
Definition at line 65 of file normaldistribution.hpp.