normalPDF - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#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