Package: libmath-vectorreal-perl (1.02-2)
Links for libmath-vectorreal-perl
Download Source Package libmath-vectorreal-perl:
- Homepage [metacpan.org]
Module to handle 3D Vector Mathematics
The Math::VectorReal package defines a 3D mathematical "vector", in a way that is compatible with the previous CPAN module Math::MatrixReal. However it provides a more vector oriented set of mathematical functions and overload operators, to the MatrixReal package. For example the normal perl string functions "x" and "." have been overloaded to allow vector cross and dot product operations. Vector math formula thus looks like vector math formula in perl programs using this package.
While this package is compatible with Math::MatrixReal, you DO NOT need to have that package to perform purely vector orientated calculations. You will need it however if you wish to do matrix operations with these vectors. The interface has been designed with this package flexibility in mind.
The vectors are defined in the same way as a "row" Math::MatrixReal matrix, instead of that packages choice of "column" definition for vector operations. Such vectors are multiplied to matices with the vector on the left and the matrix on the right. EG: v * M -> 'v
Other Packages Related to libmath-vectorreal-perl
- dep: perl
- Larry Wall's Practical Extraction and Report Language