Re: Vector math library



I am not a regular user of the libraries that you mention, but I played
around with some of them because I need a replacement for Matlab.

Numeric, NumArray and SciPy should be more or less compatible. All the
functions you mention should be in there, or otherwise should be
trivial to implement. Have a look at the functions cross(), dot(),
inner(), outer(). Addition is just a+b.

As far as I know Numeric was the original vector lib. NumArray was
written as a successor but ended up as a fork due to some speed
concerns. Scipy is the latest and tries to unite the previous two by
implementing the best of both worlds. For future work you should stick
to SciPy. Right now it is probably somewhere in a beta stage, but
expect a final version in half a year or so. Hopefully it ends up being
THE vector lib for python to avoid confusing beginners like you.

Cheers,
Bas

.



Relevant Pages

  • Re: what would you like to see in a 2nd edition Nutshell?
    ... matplotlib already works with numarray out of the box. ... Since numarray is indeed the long-term array core for Python, ... but with the understanding that it's a niche. ... I think in this section a mention of the overall scipy project would ...
    (comp.lang.python)
  • Re: Python, Matlab and AI question
    ... > I'm a student who's considering doing a project for a Machine Learning ... > visuals) but I already have a lot of AI code written in Matlab. ... > I'd like to be able to call Matlab code from within python. ... That would be Numeric and scipy. ...
    (comp.lang.python)
  • Re: what would you like to see in a 2nd edition Nutshell?
    ... > with numarray, and matplotlib already works with numarray out of the box. ... Scipy is the central meeting point for most scientific ... > computing projects in python, and therefore a natural reference for most users ...
    (comp.lang.python)
  • Re: activestate vs enpython
    ... numarray, matplotlib, scipy, and scientific python" was included. ...
    (comp.lang.python)
  • Re: Poor mans OCR: need performance improvement tips
    ... Hi Take a look at ADaM's image processing functionality. ... suggest seeing if Numarray of Scipy can be utilized. ... Prev by Date: ...
    (comp.lang.python)