JAMA (numerical linear algebra library)
Original author(s) | NIST |
---|---|
Stable release | 1.0.3
/ November 9, 2012 |
Operating system | Cross-platform |
Type | Library |
License | Public-Domain |
Website | math |
JAMA is a software library for performing numerical linear algebra tasks created at NIST similar in functionality to LAPACK and has been released to the public domain. Versions exist for both C++ and the Java programming language. The C++ version uses the Template Numerical Toolkit for lower-level operations. The Java version provides the lower-level operations itself. The main capabilities provided by JAMA are:
- Eigensystem solving
- LU decomposition
- Singular value decomposition
- QR decomposition
- Cholesky decomposition
JAMA has had little development since the year 2000 [1], with only the occasional bug fix being released. The project's webpage contains the following statement, "(JAMA) is no longer actively developed to keep track of evolving usage patterns in the Java language, nor to further improve the API. We will, however, fix outright errors in the code." [2] The last bug fix was released November 2012, with the previous one being released in 2005.
Usage Example
Example of Singular Value Decomposition (SVD):
SingularValueDecomposition s = matA.svd();
Matrix U = s.getU();
Matrix S = s.getS();
Matrix V = s.getV();
Example of matrix multiplication:
Matrix result = A.times(B);
See also
References
- ^ "JAMA Change Log". JAMA. NIST. November 8 2012. Retrieved November 30, 2012.
{{cite web}}
: Check date values in:|date=
(help) - ^ "JAMA Project Page". JAMA. NIST. Retrieved November 30, 2012.
{{cite web}}
: Cite has empty unknown parameter:|1=
(help)
External links
- JAMA/C++ download and documentation page at NIST
- JAMA/Java homepage at NIST