#include "xf_fintech/gamma_distribution.hpp"
template <typename DT> DT gammaCDF ( DT a, DT x )
gammaCDF it implement a cumulative distribution function for gamma distribution
Parameters:
DT | data type supported include float and double |
a | is a positive real number |
x | is a positive real number |
Returns:
it belong to [0, 1] and also is a cumulative probability value.