mikiobraun edited this page Aug 15, 2012 · 9 revisions

jblas – Linear Algebra for Java

jblas is a linear algebra library for Java which uses BLAS and LAPACK libraries for maximum performance. BLAS and LAPACK are very large libraries dating back several decades with the original version being written in FORTRAN. BLAS (Basic Linear Algebra Subroutines) covers basic operations like vector addition, vector copying, and also matrix-vector and matrix-matrix multiplication.

LAPACK covers more high-level matrix routines, as for example, solving linear equations, or computing eigenvalues. LAPACK typically uses BLAS for all the low-level computations. High performance libraries for these libraries exist, often consisting of hand-tuned assembler code for the innermost loops. One very popular open source variant is ATLAS, which automatically tunes the innermost loops for maximum throughput.

Here are some pointers do get you started (see also the list on the right hand side)

If you run into odd error messages or bugs, first check these pages: