Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin3!goblin.stu.neva.ru!newsfeed3.funet.fi!newsfeeds.funet.fi!news.utu.fi!news.cc.tut.fi!not-for-mail From: Anssi Saari Newsgroups: comp.lang.python Subject: Re: Vectors Date: Wed, 20 Apr 2011 11:07:48 +0300 Lines: 8 Message-ID: References: NNTP-Posting-Host: pepper.modeemi.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.cc.tut.fi 1303286868 12176 2001:708:310:3430:203:baff:fe7d:42dd (20 Apr 2011 08:07:48 GMT) X-Complaints-To: abuse@tut.fi NNTP-Posting-Date: Wed, 20 Apr 2011 08:07:48 +0000 (UTC) User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (usg-unix-v) Cancel-Lock: sha1:cKZ8gsXAhSvsRr2MTwNvdQYOYUs= Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3666 Algis Kabaila writes: > 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? NumPy has array (and matrix) types with support for these basic operations you mention. See the tutorial at http://numpy.scipy.org/