Noncentral Chi-Square cdf
double ncchi2cdf( const double dX, double df, double lambda, int * nFail = NULL )
Returns Non-central Chi Square cdf
EX1
void ncchi2cdf_ex1() { double x[]= {0.25, 0.5, 0.75}; double df = 3, lamda = 10; for(int ii = 0; ii<3; ii++) printf("%f %f %f: %f\n", x[ii], df, lamda, ncchi2cdf(x[ii], df, lamda)); }
origin.h