2 =head 2 Stuff to figure out
4 * how should we interface to gsl_sf_result ?
6 http://www.gnu.org/software/gsl/manual/html_node/The-gsl_005fsf_005fresult-struct.html
9 use Math::GSL::Sf qw/gsl_sf_bessel/;
12 my $result = Math::GSL::Result->new;
14 my $expected = -0.17759677131433830434739701;
16 my $status = gsl_sf_bessel_J0_e ($x, $result);
18 print "status = $status\n";
19 printf "J0($x) = %.18f\n\t= +/- % .18f\n", $result->val, $result->err;
20 printf "exact = $expected\n;