Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java/Scala library for algebra, mathematics [closed]

Tags:

Can you advise me some flexible and powerful, yet fast library which could cover SciPy (both in performance and functionality). I found SciPy very expressive - but I want to try something in Scala.

I read a little about Scala - but is not as featured as SciPy. Any alternatives? Maybe Java library?

like image 279
Robert Zaremba Avatar asked Mar 04 '11 12:03

Robert Zaremba


2 Answers

The functionality in Scipy is rather Matlab-like. So the question is whether you just want the core linear algebra / vector-matrix mathematics operations, or all sorts of things like clustering.

If you are not aware of both Scalala (now called Breeze) and ScalaLab, you should check them out--maybe they'll suit your needs.

If you need a more diverse library, there are a couple of Java libraries that might be suitable: CERN Colt and Apache Commons Math; these are intended to be used in Java style, however, and you're pretty much limited to using them that way from within Scala. (Though of course you can wrap the bits that you use particularly heavily in something prettier.)

like image 69
Rex Kerr Avatar answered Oct 13 '22 14:10

Rex Kerr


There are scalala (scala linear algebra library) and ScalaLab (more like a Matlab scala-environment)

like image 24
oxbow_lakes Avatar answered Oct 13 '22 15:10

oxbow_lakes