#include "xf_fintech/normal_distribution.hpp"
template <typename DT> DT normalCDF ( DT average, DT sigma, DT x )
normalCDF it implement a cumulative distribution function for normal distribution
Parameters:
DT | data type supported include float and double |
average | the expected value of the distribution |
sigma | the standard deviation of the distribution |
x | input of the distribution |
Returns:
return the result of normal distribution