Sorry, I forgot to send the answer to the mail list. Here is it. ---------- Forwarded message ---------- From: Ivan Pulido <[email protected]> Date: Wed, Jul 7, 2010 at 9:30 AM Subject: Re: [Help-gsl] gsl_cdf_chisq_P does not work? To: Paul van Hoven <[email protected]>
Maybe you forgot to include the header file gsl_cdf.h ?? Just in case. On Tue, Jul 6, 2010 at 10:22 AM, Paul van Hoven < [email protected]> wrote: > 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 > -- Ivan Pulido Estudiante de Física Universidad Nacional de Colombia -- Ivan Pulido Estudiante de Física Universidad Nacional de Colombia _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
