News for hackers. Stuff that matters.
Re:High performance libraries in Java by rywang on Friday February 10, 2012 @01:20PM (#3576833)
I use the Colt (Java) matrix libraries for applied math and graphics applications, but it's still quite costly compared to optimized libraries like Intel's MKL. A singular value decomposition takes about eight times as long in Colt vs MKL.
Re:High performance libraries in Java by tdj on Friday February 10, 2012 @01:34PM (#3576912)
I've used both Colt and apache commons math in a machine learning setting. It was mostly the better handling of sparse matrix ops that made apache a couple of times faster than colt (due to hash-based vs. sorted list vectors) It was pretty much the same on dense linear algebra. Intel MKL, eigen, uBlas can be better, but I haven't done the benchmarks to prove this either way.
Re:High performance libraries in Java by rywang on Friday February 10, 2012 @01:57PM (#3577001)
While we're on the subject, I'm curious if you've played with matrix-toolkits-java / netlib-java. I'm considering switching to it. I've had good experiences with the Lawson-Hanson non-negative least squares that comes with netlib.
Re:High performance libraries in Java by bedatadriven on Friday February 10, 2012 @04:06PM (#3577485)
The netlib-java project is very convenient because it allows you to use optimized native netlib libs, and transparently fall back to the f2j (jvm bytecode) library when native libs are available.

The java version of netlib produced by f2j is unfortunately the unoptimized "reference implementation", so it's not terribly performant for large matrices.