The package provides the LAPACK numerical subroutines translated from their subset Fortran 77 source into class files, executable by the Java Virtual Machine (JVM) and for use by Java programmers. . This makes it possible for Java applications or applets, distributed on the World Wide Web to use established legacy numerical code that was originally written in Fortran. The translation is accomplished using a special purpose Fortran-to-Java (source-to-source) compiler.
MTJ is designed to be used as a library for developing numerical applications, both for small and large scale computations. The library is based on BLAS and LAPACK for its dense and structured sparse computations, and on the Templates project for unstructured sparse operations. . MTJ uses the netlib-java project as a backend, which can be set up to use machine-optimised BLAS libraries for improved performance of dense matrix operations, falling back to a pure Java implementation. This ensures perfect portability, while allowing for improved performance in a production environment.
Netlib is a collection of mission-critical software components for linear algebra systems (i.e. working with vectors or matrices). . Netlib libraries are written in C, Fortran or optimised assembly code. This package provides a Java translation but it does not take advantage of optimised system libraries.