Matrix Toolkit Java
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Original author(s) | Original: Bjørn-Ove Heimsund |
---|---|
Initial release | 2003 |
Stable release | 0.9.14
/ November 22, 2011 |
Type | Library |
License | LGPL |
Website | code |
Matrix Toolkit Java (MTJ) is an open source Java software library for performing numerical linear algebra. The library contains a full set of standard linear algebra operations for dense matrices based off of BLAS and LAPACK code. Partial set of sparse operations is provided through the Templates project. The library can be configured to ran as a pure Java library or use BLAS machine-optimized code through the Java Native Interface.
MTJ was originally developed by Bjørn-Ove Heimsund, who has taken a step back due to other commitments. The project webpage states that "(The new maintainers are) primarily concerned with keeping the library maintained, and fixing bugs as they are discovered. There is no road plan for future releases".[1]
Several citations for MTJ can be found in scientific literature, including [2] which uses its LU preconditioner. Performance of MTJ has been compared to other libraries, which can be found at Java Matrix Benchmark's site [3].
Usage Examples
Example of Singular Value Decomposition (SVD):
SVD svd = new SVD(matA.numRows(),matA.numColumns());
SVD s = svd.factor(matA);
DenseMatrix U = s.getU();
DenseMatrix S = s.getS();
DenseMatrix Vt = s.getVt();
Example of matrix multiplication:
DenseMatrix result = new DenseMatrix(matA.numRows(),matB.numColumns());
matA.mult(matB,result);
See also
References
- ^ "MTJ Project Page". MTJ. Retrieved November 30, 2012.
{{cite web}}
: Cite has empty unknown parameter:|1=
(help) - ^ McMahan, H.B. (2005). [www.cs.cmu.edu/~ggordon/mcmahan-gordon.fast-mdp.pdf "Fast exact planning in Markov decision processes"] (PDF). Proc. of the 15th International Conference on Automated Planning and Scheduling (ICAPS-05).
{{cite conference}}
: Check|url=
value (help); Unknown parameter|booktitle=
ignored (|book-title=
suggested) (help); Unknown parameter|coauthors=
ignored (|author=
suggested) (help) - ^ "Java Matrix Benchmark". Retrieved December 6, 2012.
External links
- Matrix Toolkit Java (MTJ) project webpage