[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] gsl_cdf_chisq_P does not work?
From: |
Ivan Pulido |
Subject: |
[Help-gsl] gsl_cdf_chisq_P does not work? |
Date: |
Wed, 7 Jul 2010 09:32:57 -0500 |
Sorry, I forgot to send the answer to the mail list. Here is it.
---------- Forwarded message ----------
From: Ivan Pulido <address@hidden>
Date: Wed, Jul 7, 2010 at 9:30 AM
Subject: Re: [Help-gsl] gsl_cdf_chisq_P does not work?
To: Paul van Hoven <address@hidden>
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 <
address@hidden> 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
> address@hidden
> 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