[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]

From: 李 思达
Date: Mon, 29 Jun 2020 18:22:43 -0400

Dear GSL

I encounter problems in using GSL.

GSL version:, Visual Studio 2017 Release GSL as NuGet package. 
Operating system: Win10, X64
Compiler: Visual Studio 2019, C++
Behavior: #include<gsl/gsl_cdf.h>, could not find “gsl_cdf_gaussian_p” function 
when call it. Also, “gsl_cdf_gaussian_pinv” could not be found.
Short program: 
double truncnorm(double mu, double s, double a, double b){
#include <gsl/gsl_cdf.h>
    double z;
    a = gsl_cdf_gaussian_p(a-mu,sqrt(s));
    b = gsl_cdf_gaussian_p(b-mu,sqrt(s));
    z = gsl_ran_flat(r,a,b);
    return gsl_cdf_gaussian_pinv(z,sqrt(s)) + mu;

Could you help me solve that?
Thanks in advance. 
Sida Li
PhD student

National Center for Integrated Coastal Research, UCF, USA 
Cell:  407 879 3347

reply via email to

[Prev in Thread] Current Thread [Next in Thread]