Math::MatrixDecomposition::Util - utility functions
use Math::MatrixDecomposition::Util qw(:all);
This module contains a colorful collection of utility functions. Nothing is exported by default.
eps
Return the machine precision.
mod
Return the remainder of a division. Any argument can be either an integral number or a floating-point number.
min
Return the minimum value of the two arguments.
max
Return the maximum value of the two arguments.
sign
Return the value of a with the sign of b.
If the second argument b is less than zero, the return value is a non-positive number. Otherwise, the return value is a non-negative number.
hypot
Return the length of the hypotenuse of a right triangle. This is equal to the distance of a point to the origin in a two-dimensional Cartesian coordinate system.
cdiv
Return the real part and imaginary part of the division of two complex numbers.
Ralph Schleicher <ralph@cpan.org>
To install Math::MatrixDecomposition, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::MatrixDecomposition
CPAN shell
perl -MCPAN -e shell install Math::MatrixDecomposition
For more information on module installation, please visit the detailed CPAN module installation guide.