Math::Zap::Matrix 1.07
Sponsored Links
Math::Zap::Matrix 1.07 Ranking & Summary
File size:
0.062 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
829
Date added:
2007-07-17
Publisher:
Philip R. Brenan
Math::Zap::Matrix 1.07 description
Math::Zap::Matrix is a Perl module for 3*3 matrix manipulation.
Synopsis
Example t/matrix.t
#_ Matrix _____________________________________________________________
# Test 3*3 matrices
# philiprbrenan@yahoo.com, 2004, Perl License
#______________________________________________________________________
use Math::Zap::Matrix identity=>i;
use Math::Zap::Vector;
use Test::Simple tests=>8;
my ($a, $b, $c, $v);
$a = matrix
(8, 0, 0,
0, 8, 0,
0, 0, 8
);
$b = matrix
(4, 2, 0,
2, 4, 2,
0, 2, 4
);
$c = matrix
(4, 2, 1,
2, 4, 2,
1, 2, 4
);
$v = vector(1,2,3);
ok($a/$a == i());
ok($b/$b == i());
ok($c/$c == i());
ok(2/$a*$a/2 == i());
ok(($a+$b)/($a+$b) == i());
ok(($a-$c)/($a-$c) == i());
ok(-$a/-$a == i());
ok(1/$a*($a*$v) == $v);
Synopsis
Example t/matrix.t
#_ Matrix _____________________________________________________________
# Test 3*3 matrices
# philiprbrenan@yahoo.com, 2004, Perl License
#______________________________________________________________________
use Math::Zap::Matrix identity=>i;
use Math::Zap::Vector;
use Test::Simple tests=>8;
my ($a, $b, $c, $v);
$a = matrix
(8, 0, 0,
0, 8, 0,
0, 0, 8
);
$b = matrix
(4, 2, 0,
2, 4, 2,
0, 2, 4
);
$c = matrix
(4, 2, 1,
2, 4, 2,
1, 2, 4
);
$v = vector(1,2,3);
ok($a/$a == i());
ok($b/$b == i());
ok($c/$c == i());
ok(2/$a*$a/2 == i());
ok(($a+$b)/($a+$b) == i());
ok(($a-$c)/($a-$c) == i());
ok(-$a/-$a == i());
ok(1/$a*($a*$v) == $v);
Math::Zap::Matrix 1.07 Screenshot
Math::Zap::Matrix 1.07 Keywords
Matrix 1.07
Perl module
For 3
3
0
2
matrix
4
c
Math::Zap::Matrix
MathZapMatrix
Math::Zap::Matrix 1.07
Libraries
Programming
Bookmark Math::Zap::Matrix 1.07
Math::Zap::Matrix 1.07 Copyright
WareSeeker periodically updates pricing and software information of Math::Zap::Matrix 1.07 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Math::Zap::Matrix 1.07 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Math::Zap::Matrix2 is a Perl module for 2*2 matrix manipulation. Free Download
Math::Zap::Triangle module can build triangles in 3D space. Free Download
Math::Zap::Triangle2 - triangles in 2D space. Free Download
Math::Matrix can multiply and invert Matrices. Free Download
Math::MatrixReal is a nifty perl module for doing just about anything you could want with an NxN matrix. Free Download
Math::Roman contains arbitrary sized Roman numbers and conversion from and to Arabic. Free Download
Math::Zap::Rectangle is a Perl module that generates rectangles in 3d space. Free Download
Math::MatrixReal::Aug Perl module contains additional methods for Math::MatrixReal. Free Download
Latest Software
Popular Software
Favourite Software