#include "xf_fintech/normal_distribution.hpp"
template <typename DT> DT normalPDF ( DT average, DT sigma, DT x )
normalPDF it implement a probability density 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