QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Normal distribution function. More...
#include <normaldistribution.hpp>
Public Member Functions | |
NormalDistribution (Real average=0.0, Real sigma=1.0) | |
Real | operator() (Real x) const |
Real | derivative (Real x) const |
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 262 of file normaldistribution.hpp.
Definition at line 275 of file normaldistribution.hpp.
|
private |
Definition at line 52 of file normaldistribution.hpp.
|
private |
Definition at line 52 of file normaldistribution.hpp.
|
private |
Definition at line 52 of file normaldistribution.hpp.
|
private |
Definition at line 52 of file normaldistribution.hpp.
|
private |
Definition at line 53 of file normaldistribution.hpp.