Package org.ojalgo.matrix.jama
This package contains adapter classes to Jama.
See:
Description
Package org.ojalgo.matrix.jama Description
This package contains adapter classes to Jama.
The entire original Jama package is here but made package
private. Use the adapters.
Instructions for the ojAlgo developer if/when Jama is updated:
- Delete all *.java files in this package with names that do not
begin with Jama*.
- Move the new Jama files do this package and update the files'
package declarations.
- Change all the new classes from public to default (package
private).
- Apply fixes
- Towards the end of the LU decomposition constructor the if statement
((j < m) & (LU[j][j] != 0.0)) needs to be changed to ((j < m) && (LU[j][j] != 0.0)).
- The getL() and getU() methods of the LU decomposition should be modified. Introduce a new parameter d that is the minimum of m and n. Use that to set the column dimension of L and the row dimension of U.
- Add a package private method isSymmetric() that exposes the already existing field issymmetric in the EigenvalueDecomposition class.
- Improve Matrix.times(): Move the declarations
double[] Arowi;
and
double s;
outside/before the loops to avoid excessive garbage creation.