The matrix and vector library for Java
You can use Matrix4j through Maven central repository by adding the following entry to your project pom.xml file.
<dependency>
<groupId>io.github.myui</groupId>
<artifactId>matrix4j</artifactId>
<version>0.9.2</version>
</dependency>
Find usage in unit tests.
Java7 or later is supported.
Matrix4j has minimum dependencies to
- jsr305 1.3.9
- fastutil [7.2.1,7.3)
- Matrix
- Sparse Matrix
- CSR Matrix
- CSC Matrix
- DoK Matrix
- Dense Matrix
- Column-major Dense Matrix
- Row-major Dense Matrix
- double/float/int matrix
- Sparse Matrix
- Dense/Sparse Vector
- Vector processing APIs
Matrix4j does not provides Linear Algebra while it provides minimum building blocks for Matrix computation.