JAMA: Java Matrix Package - Mathematics, Statistics and Computational Science at NIST
Example of Use. The following simple example solves a 3x3 linear system Ax=b and computes the norm of the residual. double[][] array = {{1.,2.,3},{4.,5.,6.},{7.,8.,10.}}; Matrix A = new Matrix(array); Matrix b = Matrix.random(3,1); Matrix x = A.solve(b); ...