in reply to Perl & Math: A Quick Reference
While I didn't try to put in more than the basics, it does let you create and work with big vectors of doubles, like this:
You can find the source code, documentation, and a test suite at http://cs.marlboro.edu/code/perl/modules/Math/Vector/use Vector qw(vector); my $a = vector( size=>10000, first=>0.0, by=>0.01 ); my $b = sin($a); my $c = $a + $b; print $c->[200];
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Perl & Math: A Quick Reference
by chunlou (Curate) on Aug 17, 2003 at 22:54 UTC |