Jama is a simple, and easy to call, matrix package in Java from NIST which has been installed on all School Linux systems. The package supports all basic numerical matrix manipulation, such a addition, multipliction, transpose, determinant, rank, inverse (and psudo-inverse), solution of linear equations including least squares, Eigen and SVD decomposition and various additional standard numerical technques.
Links
Local Demo Programs
- Basic matrix manipulation and inverse BasicMatrix.java
- Calcualtion of Eigen Values and Eigen vectors of symmetric matrix EigenValues.java
- Solution of linear equations of the form A x = b
where A and b are read in from text files
LinearEquations.java
Text files of a 4x4 A matrix A.data and 4x1 b matrix b.data.