Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternative to scipy and numpy for linear algebra?

Tags:

python

Is there a good (small and light) alternative to numpy for python, to do linear algebra? I only need matrices (multiplication, addition), inverses, transposes and such.

Why?

I am tired of trying to install numpy/scipy - it is such a pita to get it to work - it never seems to install correctly (esp. since I have two machines, one linux and one windows): no matter what I do: compile it or install from pre-built binaries. How hard is it to make a "normal" installer that just works?

like image 477
Andriy Drozdyuk Avatar asked Nov 27 '11 21:11

Andriy Drozdyuk


1 Answers

I'm surprised nobody mentioned SymPy, which is written entirely in Python and does not require compilation like Numpy.

There is also tinynumpy, which is a pure python alternative to Numpy with limited features.

like image 74
eadmaster Avatar answered Oct 16 '22 18:10

eadmaster