The la4j library is open source and 100% Java library that provides Linear Algebra primitives (matrices and vectors) and algorithms. The library was initially designed to be lightweight and simple tool for passionate Java developers. It has been started as student project and turned into one of the most popular Java packages for matrices and vectors.

Installation

The details on latest stable version might be found at Github releases page.

<dependency> <groupId>org.la4j</groupId> <artifactId>la4j</artifactId> <version>0.6.0</version> </dependency>

Features

The key features of the la4j library are:

Great performance allied with beautiful design

No dependencies and tiny size (~150kb jar)

Fluent object-oriented/functional API

Sparse (CRS, CCS) and dense (1D/2D arrays) matrices

Linear systems solving (Gaussian, Jacobi, Zeidel, Square Root, Sweep and other)

Matrices decomposition (Eigenvalues/Eigenvectors, SVD, QR, LU, Cholesky and other)

MatrixMarket/CSV IO formats support for matrices and vectors

Documentation

There are two main knowledge sources on la4j: JavaDoc and Github Wiki.

How To Contribute?

There are a lot of ways you can express you passion about the la4j library:

Give it a start on Github

Drop the feedback to the author

Buy a sticker on RedBubble

Links

https://github.com/vkostyukov/la4j - GitHub page

http://la4j.blogspot.com - Development Blog

https://groups.google.com/forum/?fromgroups=#!forum/la4j - Google Group

http://la4j.org/apidocs - la4j's JavaDocs

https://github.com/vkostyukov/la4j/wiki - la4j's Wiki