Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #3665

Re: Vectors

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <chris@rebertia.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'wed,': 0.04; 'python:': 0.05; 'python': 0.07; 'received:74.125.82.174': 0.12; 'received :mail-wy0-f174.google.com': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'dunno': 0.16; 'module?': 0.16; 'numpy': 0.16; 'stuff': 0.18; 'modules': 0.20; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'cheers,': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:addr:python- list': 0.22; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; 'hi,': 0.29; 'skip:3 10': 0.29; 'features,': 0.29; 'cc:addr:python.org': 0.31; 'reference': 0.34; 'there': 0.35; 'quite': 0.36; 'addition,': 0.37; '20,': 0.38; 'apr': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'url:org': 0.38; 'could': 0.39; "it's": 0.40; 'header:Received:5': 0.40; 'give': 0.61; '2011': 0.62; '12:47': 0.84; 'algebra': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EojNFecoFksYaLIRfojRxZxssaVLzZA/ajQFeVKgASI=; b=Mj/gDdDowUo3t/SBdcKl1b9phf9UZ7hsrABFsgQcuwkppNrCR33h6a3G3vL6AeFd40 AC+JueHFpx6YgfgjEe1Hw/22u3aqdLau4xu53xecw3iGa9Uw2CY/0KJIgNibxxxc4fE4 t4d7D/gVfL0ECEeGqR7V4mgOLSjW5hF3hEglk=
DomainKey-Signature a=rsa-sha1; c=nofws; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=FDWar6lx23I6iMNIoUNzT1MHz8SGSOx5qloXFHdGfxrMuF/i6jVwXo8TRMn4t0fqFM NO5WTdJG+CECmj0f0CDQQ3DaO+MoE3V975oQm/pfq0RNoH+kyl99/xhtUau2sXyduwm2 Hipb7RFg3nc52K6j7HUkZZ2v3Y1Y3QXdxaE+Q=
MIME-Version 1.0
Sender chris@rebertia.com
In-Reply-To <201104201747.13527.akabaila@pcug.org.au>
References <201104201747.13527.akabaila@pcug.org.au>
Date Wed, 20 Apr 2011 00:56:54 -0700
X-Google-Sender-Auth wmP21C-qBo0wgF0KPCqty7qpzKg
Subject Re: Vectors
From Chris Rebert <clp2@rebertia.com>
To Algis Kabaila <akabaila@pcug.org.au>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.627.1303286216.9059.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 82.94.164.166
X-Trace 1303286217 news.xs4all.nl 41102 [::ffff:82.94.164.166]:41983
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3665

Show key headers only | View raw


On Wed, Apr 20, 2011 at 12:47 AM, Algis Kabaila <akabaila@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

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: Vectors Chris Rebert <clp2@rebertia.com> - 2011-04-20 00:56 -0700

csiph-web