Vectors

Chris Rebert clp2 at rebertia.com
Wed Apr 20 09:56:54 CEST 2011


On Wed, Apr 20, 2011 at 12:47 AM, Algis Kabaila <akabaila at pcug.org.au> wrote:
> Hi,
>
> Are there any modules for vector algebra (three dimensional
> vectors, vector addition, subtraction, multiplication [scalar
> and vector]. Could you give me a reference to such module?

Dunno if it has 3D-specific features, but NumPy is the gold standard
for matrix-y stuff in Python:
http://numpy.scipy.org/

And apparently it's even Python 3.1-compatible now; that's quite a feat.

Cheers,
Chris



More information about the Python-list mailing list