JAMA (numerical linear algebra library)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
JAMA (numerical linear algebra library)
Original author(s) NIST
Stable release 1.0.3 / November 9, 2012 (2012-11-09)
Operating system Cross-platform
Type Library
License Public-Domain
Website math.nist.gov/javanumerics/jama/

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:

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[edit]

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[edit]


  1. ^ "JAMA Change Log". JAMA. NIST. November 8, 2012. Retrieved November 30, 2012. 
  2. ^ "JAMA Project Page". JAMA. NIST. Retrieved November 30, 2012. 

External links[edit]