Rahul Sharma (Editor)

Jblas: Linear Algebra for Java

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Mikio L. Braun

Type
  
Library

Website
  
jblas.org

Operating system
  
Cross-platform

License
  
BSD Revised

Stable release
  
1.2.4 / May 12, 2015 (2015-05-12)

jblas is a linear algebra library, created by Mikio Braun, for the Java programming language built upon BLAS and LAPACK. Unlike most other Java linear algebra libraries, jblas is designed to be used with native code through the Java Native Interface (JNI) and comes with precompiled binaries. When used on one of the targeted architectures, it will automatically select the correct binary to use and load it. This allows it to be used out of the box and avoid a potentially tedious compilation process. jblas provides an easier to use high level API on top of the archaic API provided by BLAS and LAPACK, removing much of the tediousness.

Contents

Since its initial release, jblas has been gaining popularity in scientific computing. With applications in a range of applications, such as text classification, network analysis, and stationary subspace analysis. It is part of software packages, such as JLabGroovy, Universal Java Matrix Library (UJMP)., and DataMelt scientific computational environment. In a recent performance study of Java matrix libraries, jblas is the highest performing library, when libraries with native code are considered.

Capabilities

The following is an overview of jblas's capabilities, as listed on the project's website:

  • Eigen – eigendecomposition
  • Solve – solving linear equations
  • Singular – singular value decomposition
  • Decompose – LU, Cholesky, ...
  • Geometry – centering, normalizing, ...
  • Usage Example

    Example of Eigenvalue Decomposition:

    Example of matrix multiplication:

    References

    Jblas: Linear Algebra for Java Wikipedia