3 =head2 Stuff to figure out
5 * check for minimum SWIG version
7 * how should we interface to gsl_sf_result ?
9 http://www.gnu.org/software/gsl/manual/html_node/The-gsl_005fsf_005fresult-struct.html
11 use Math::GSL::Result;
12 use Math::GSL::Sf qw/gsl_sf_bessel/;
15 my $result = Math::GSL::Result->new;
17 my $expected = -0.17759677131433830434739701;
19 my $status = gsl_sf_bessel_J0_e ($x, $result);
21 print "status = $status\n";
22 printf "J0($x) = %.18f\n\t= +/- % .18f\n", $result->val, $result->err;
23 printf "exact = $expected\n;
27 * $status should get stringified to an actual message (via gsl_strerror)
31 * make sure in Build.PL that the GSL include files are where we think they
32 are, so that the compilation doesn't blowup when people have put there
33 headers in a non-standard place
35 * make the interface files not be hardcoded to /usr/local/include/gsl, possibly
36 using an environment variable