views:

613

answers:

4

I need to perform numerical analysis like that supported by MatLab or NumPy. Is there a good library that is supported by Scheme/Lisp/Clojure(Java)? I don't want to leave my round braces.

Thanks a lot.

+4  A: 

Lisp:

http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/code/math/matrix/0.html

Java:

Jama:http://math.nist.gov/javanumerics/jama/
Colt:http://acs.lbl.gov/~hoschek/colt/
Apache commons math: http://commons.apache.org/math/

If speed is important, you can try Parallel Colt: http://sites.google.com/site/piotrwendykier/software/parallelcolt

Robert Harvey
Have you tried it? Is it fast?
kunjaan
Speed discussion for Java libraries:http://stackoverflow.com/questions/529457/performance-of-java-matrix-math-libraries
Robert Harvey
for the lisp library "Last Web update on Mon Feb 13 10:30:23 1995" xD
fortran
Math doesn't change much. The Lisp library probably still works fine.
Robert Harvey
+4  A: 

Incanter is a Clojure-based, R-like statistical computing and graphics environment for the JVM. At the core of Incanter are the Parallel Colt numerics library, a multithreaded version of Colt, and the JFreeChart charting library, as well as several other Java and Clojure libraries.

http://incanter.org/

Robert Harvey
WOW this looks interesting. Are there any benchmarks available?
kunjaan
Haven't seen any.
Robert Harvey
+2  A: 

For PLT Scheme see the plt-linalg package on planet. There is also mzgsl which has bindings for the GNU Scientific Library.

Eli Barzilay
+4  A: 

For Common Lisp, see

  • Matlisp: a matrix package for Common Lisp (includes BLAS and LAPACK);
  • GSLL: GNU Scientific Library for Lisp;

and others on cliki.

huaiyuan