search for: gsl_randist

Displaying 3 results from an estimated 3 matches for "gsl_randist".

2002 Apr 16
1
Problem with dyn.load()
...mInVar, boundError, numberSampleClasses, : C/Fortran function name not in load table The code of the function is something like this: #include <cmath> extern "C" { #include "/usr/local/include/gsl/gsl_statistics_double.h" #include "/usr/local/include/gsl/gsl_randist.h" #include "/usr/local/include/gsl/gsl_roots.h" #include "/usr/local/include/gsl/gsl_sf_erf.h" #include "/usr/local/include/gsl/gsl_math.h" #include "/usr/local/include/gsl/gsl_integration.h" void integral( arguments ){ ... return; } } I compile with:...
2012 Jun 09
0
-lgsl -lgslcblas fatal error no such file or directory
...t2/bin I also created two new variables in the system environmental variables list GSL_LIB, value c:/R/GSL_test2/lib/ GSL_INC, value c:/R/GSL_test2/inc/ The source C code is #include <stdio.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <R.h> void gibbsGSL(int *Np,int *thinp,int *seedp,double *xvec,double *yvec) { int i,j; int N=*Np,thin=*thinp,seed=*seedp; gsl_rng *r = gsl_rng_alloc(gsl_rng_mt19937); gsl_rng_set(r,seed); double x=0; double y=0; for (i=0;i<N;i++) { for (...
2012 Jun 16
0
R CMD -lgsl -lgslcblas *.c returns a fatal error: gsl/gsl_rng.h no such file or directory exists
...ted the two new variables in the system environmental variables list. GSL_LIB, value c:/R/GSL_test2/lib/ GSL_INC, value c:/R/GSL_test2/inc/ The failing C source code is #include <stdio.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <R.h> void gibbsGSL(int *Np,int *thinp,int *seedp,double *xvec,double *yvec) { int i,j; int N=*Np,thin=*thinp,seed=*seedp; gsl_rng *r = gsl_rng_alloc(gsl_rng_mt19937); gsl_rng_set(r,seed); double x=0; double y=0; for (i=0;i<N;i++) {...