Dear GSL
I have a bug report
GSL version: 2.4.0.8788, Visual Studio 2017 Release GSL as NuGet package.
Operating system: Win10, X64
Compiler: Visual Studio 2019, C++
Bug 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.
Best,
Sida Li