Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leto/math--matrixreal
Matrices of real numbers in Perl
https://github.com/leto/math--matrixreal
Last synced: about 2 months ago
JSON representation
Matrices of real numbers in Perl
- Host: GitHub
- URL: https://github.com/leto/math--matrixreal
- Owner: leto
- Created: 2009-04-21T07:53:54.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T03:01:33.000Z (over 4 years ago)
- Last Synced: 2024-06-13T06:22:34.131Z (7 months ago)
- Language: Perl
- Homepage:
- Size: 367 KB
- Stars: 10
- Watchers: 5
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.mkd
- Changelog: CHANGES
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Math::MatrixReal
NxN Real Matrices in Perl
[![Build Status](https://secure.travis-ci.org/leto/math--matrixreal.png)](http://travis-ci.org/leto/math--matrixreal)
Report bugs and submit patches at http://github.com/leto/math--matrixreal
Perl version 5.003 or higher capable of "overloading" (overload.pm).
## What does it do:
### Math::MatrixReal - Matrix of Reals
Implements the data type "matrix of reals" (and consequently also
"vector of reals") which can be used almost like any other basic
Perl type thanks to OPERATOR OVERLOADING, i.e.,$A = $matrix1 * $matrix2;
$B = $A ** 2;
$C = $A + 2*B;
$D = $C - $B/2;
$inverse = $C ** -1;
$inverse = 1/$C;does what you would like it to do.
Also features many important operations and methods: matrix norm,
matrix transposition, matrix inverse, determinant of a matrix, order
and numerical condition of a matrix, scalar product of vectors, vector
product of vectors, vector length, projection of row and column vectors,
a comfortable way for reading in a matrix from a file, the keyboard or
your code, and many more.Allows to solve linear equation systems using an efficient algorithm
known as "L-R-decomposition" and several approximative (iterative) methods.Features an implementation of Kleene's algorithm to compute the minimal
costs for all paths in a graph with weighted edges (the "weights" being
the costs associated with each edge).Allows to solve the eigensystem of a real symmetric matrix, using
Householder transformation and QL decomposition.## Installation Instructions
Since Math::MatrixReal 2.03, Module::Build is used for the build process, but
a Makefile.PL is still generated for older installations. If you do not have
Module::Build, please read the OLD_README file.The build and install Math::MatrixReal run the commands
perl Build.PL
./Build
./Build test
./Build install## Version history:
See the CHANGES file.
## Credits:
See the CREDITS file.
## Copyright
1996-1997 by Steffen Beyer.
1999 by Rodolphe Ortalo.
2001-2013 by Jonathan "Duke" Leto.
All rights reserved.
This package is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.