java matrix-multiplication (FAST) java matrix-multiplication (FAST) multithreading multithreading

java matrix-multiplication (FAST)


I would try Colt, from CERN. It's a bit old now, but still provides excellent libraries for what you are trying.

For parallel processing, try the newer Parallel Colt.


With due respect to Colt and Parallel Colt, they are not very fast. If you insist on using Java and expect fast numerical computations, use JBLAS. JBLAS uses ATLAS. I have compiled JBLAS to use multithreaded ATLAS - it does not do this by default. You would need to change a few configure options. However even single threaded JBLAS is faster than multithreaded Colt and Parallel Colt. I tested Colt, Parallel Colt, JAMA and JBLAS. JBLAS is the best by a country mile.

Colt and Parallel Colt are very slow. So is JAMA. The best library in Java for such things is JBLAS.