0.5.5
This is a cleanup release. Every deprecated method/class has been removed:
- There is no longer
org.la4j.factory
package, use static factory methods:
Matrix a = Matrix.identity(100); // creates identity matrix
Matrix b = CRSMatrix.zero(100, 100); creates zero matrix (matrix with all zeros)
Matrix c = DenseMatrix.constant(100, 100, 3.14); // creates a constant matrix
- There is no longer
org.la4j.io
package, use static factory methods:
Matrix a = Matrix.fromCSV("0.0, 0.1\n1.0, 2.0");
Matrix b = CRSMatrix.fromMatrixMarket(mmString);
Matrices and vectors are no longer serializable objects. User methods X.toBinary()
and X.fromBinary()
instead.
Grab the release on Maven Central:
<dependency>
<groupId>org.la4j</groupId>
<artifactId>la4j</artifactId>
<version>0.5.5</version>
</dependency>