Hi All,
I would like to use the gsl cdf library, for example this function
*Function:* double *gsl_cdf_tdist_P* *(double x, double nu)*
I don't really know C. Just trying to hack something together from the
existing PDL::GSL files. Why doesn't this work??
pp_addhdr('
#include <gsl/gsl_cdf.h>
');
pp_def('gsl_cdf_tdist_P',
Pars =>'double x(); double nu(); double [o]p()',
Code =>'
$p() = gsl_cdf_tdist_P( $x(), $nu() );
',
Doc => undef,
);
pp_done();
It compiled OK, but I get this when I try to use it
perldl> p PDL::GSL::CDF::gsl_cdf_tdist_P( 1.96, 2000 )
/usr/bin/perl: symbol lookup error:
/usr/local/lib/perl/5.8.8/auto/PDL/GSL/CDF/CDF.so: undefined symbol:
gsl_cdf_tdist_P
Thank you!
Maggie
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl