From: Jonathan Leto <jonathan@leto.net>
To: gsl-discuss <gsl-discuss@sourceware.cygnus.com>
Subject: Math::Gsl 0.06
Date: Wed, 19 Dec 2001 13:20:00 -0000 [thread overview]
Message-ID: <20011108100350.A13761@leto.net> (raw)
The new version of the perl API to Gsl has been accepted by CPAN into the
Math::Gsl namespace. To install:
perl -MCPAN -e "install Math::Gsl"
To view online documentation: http://leto.net/code/gsl/
There is a totally new API, which allows you to do all of the following:
use Math::Gsl::Sf qw(:Gamma);
my $sf = new Math::Gsl::Sf;
my $r = new Math::Gsl::Sf::Result;
print "1: Gamma(5): " . Math::Gsl::Sf::gamma( 5 ) . "\n";
print "2: Gamma(5): " . $sf->gamma(5) . "\n";
print "3: Gamma(5): " . gamma(5) . "\n";
print "4: Gamma(5): " . Math::Gsl::Sf::sf_gamma(5) . "\n";
my $status = $sf->gamma_e( 5 , $r );
print "5: Gamma(5): " . $r->val . ",". $r->err ." $status \n";
Let me know what you think.
--
jonathan@leto.net
"Wir mussen wissen. Wir werden wissen."
next reply other threads:[~2001-12-19 13:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 13:20 Jonathan Leto [this message]
2001-12-19 13:20 ` Brian Gough
[not found] ` <20011109165905.A19324@leto.net>
[not found] ` <15340.23691.852804.640357@debian>
2001-12-19 13:20 ` Brian Gough
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011108100350.A13761@leto.net \
--to=jonathan@leto.net \
--cc=gsl-discuss@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).