#include "xf_fintech/poisson_distribution.hpp"
template <typename DT> int poissonICDF ( DT m, DT x )
poissonICDF it implement a inverse cumulative distribution function for poisson distribution
Parameters:
DT | data type supported include float and double |
m | is a positive real number, it is equal to the expected value of a discrete random variable and also to its variance. |
x | belong to [0, 1] and also is a cumulative probability value. |
Returns:
the number of occurrences.