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