Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use Scheme/Lisp/Clojure for Matrix/LP problems?

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.

like image 404
unj2 Avatar asked Jul 18 '09 01:07

unj2


2 Answers

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.

like image 125
huaiyuan Avatar answered Oct 22 '22 15:10

huaiyuan


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

like image 34
Robert Harvey Avatar answered Oct 22 '22 14:10

Robert Harvey