JAMA (numerical linear algebra library)

From Wikipedia, the free encyclopedia
JAMA
Original author(s)NIST
Initial release1998
Stable release
1.0.3 / November 9, 2012 (2012-11-09)
Operating systemCross-platform
TypeLibrary
LicensePublic domain software
Websitemath.nist.gov/javanumerics/jama/

JAMA is a software library for performing numerical linear algebra tasks created at National Institute of Standards and Technology in 1998 similar in functionality to LAPACK.

Functionality[edit]

The main capabilities provided by JAMA are:

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.

History[edit]

As work of US governmental organization the algorithm and source code have been released to the public domain around 1998.[1] JAMA has had little development since the year 2000,[2] 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." [3] 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]

References[edit]

  1. ^ JAMA : A Java Matrix Package on math.nist.gov
  2. ^ "JAMA Change Log". JAMA. NIST. November 8, 2012. Retrieved November 30, 2012.
  3. ^ "JAMA Project Page". JAMA. NIST. Retrieved November 30, 2012.

External links[edit]