This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Gsl 0.02
- To: gsl-discuss at sources dot redhat dot com
- Subject: Gsl 0.02
- From: Jonathan Leto <jonathan at leto dot net>
- Date: Sat, 14 Jul 2001 18:57:30 -0500
- Reply-To: jonathan at leto dot net
Gsl now implements the entire Special Functions library of GSL, with an
OO interface. Current syntax: (from docs)
use Gsl qw(:FUNCTIONFAMILY);
# returns an object for Special function answers
my $r = new Gsl::SpecialFunction;
my $answer = FUNCTION( $x );
# functions that take a result object have a _e appended
# to their name
my $status = FUNCTION_e( $x, $r );
print "Value: " . $r->val . "\n";
print "Error: " . $r->err . "\n";
print "Status: $status\n";
All comments welcome.
Thanks to everyone that provided helpful hints.
http://www.leto.net/code/gsl/
http://www.leto.net/code/Gsl-0.02.tar.gz
--
Jonathan Leto
jonathan@leto.net