I'm trying to use the chi2 cdf function (Function: double
gsl_cdf_chisq_P (double x, double nu)). When I try to use it I get the
following error message on compiling:
g++ -I./gtest-1.5.0/include -lgsl -g -Wall -Wextra -c
./RandomNumberGenerator.cpp
./RandomNumberGenerator.cpp: In member function ‘double
RandomNumberGenerator::chiSquareCDF(double, double)’:
./RandomNumberGenerator.cpp:49: error: ‘gsl_cdf_chisq_P’ was not
declared in this scope
make: *** [RandomNumberGenerator.o] Error 1
I also use other GSL function e.g. "gsl_ran_poisson_pdf" and they work
fine.
Why can't I use "gsl_cdf_chisq_P"?
Paul
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl