Re: Vectors

2011-04-26 Thread Algis Kabaila
On Monday 25 April 2011 20:49:34 Jonathan Hartley wrote: > On Apr 20, 2:43 pm, Andreas Tawn wrote: > > > Algis Kabaila writes: > > > > Are there any modules for vector algebra (three > > > > dimensional vectors, vector addition, subtraction, > > > > multiplication [scalar and vector]. Could you

Re: Vectors

2011-04-25 Thread Jonathan Hartley
On Apr 20, 2:43 pm, Andreas Tawn wrote: > > 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 mat

Re: Vectors

2011-04-25 Thread Algis Kabaila
On Monday 25 April 2011 12:59:38 rusi wrote: > On Apr 25, 4:49 am, Robert Kern wrote: > > On 4/22/11 7:32 PM, Algis Kabaila wrote: > > > On Saturday 23 April 2011 06:57:23 sturlamolden wrote: > > >> On Apr 20, 9:47 am, Algis Kabaila > > > > > > wrote: > > >>> Are there any modules for vector alge

Re: Vectors

2011-04-24 Thread rusi
On Apr 25, 4:49 am, Robert Kern wrote: > On 4/22/11 7:32 PM, Algis Kabaila wrote: > > > > > On Saturday 23 April 2011 06:57:23 sturlamolden wrote: > >> On Apr 20, 9:47 am, Algis Kabaila > > wrote: > >>> Are there any modules for vector algebra (three dimensional > >>> vectors, vector addition, sub

Re: Vectors

2011-04-24 Thread Robert Kern
On 4/22/11 7:32 PM, Algis Kabaila wrote: On Saturday 23 April 2011 06:57:23 sturlamolden wrote: On Apr 20, 9:47 am, Algis Kabaila wrote: Are there any modules for vector algebra (three dimensional vectors, vector addition, subtraction, multiplication [scalar and vector]. Could you give me a re

Re: Vectors

2011-04-23 Thread sturlamolden
On Apr 23, 2:26 pm, Algis Kabaila wrote: > I do understand that many people prefer Win32 and > appreciate their right to use what they want.  I just am at a > loss to understand *why* ... For the same reason some people prefered OS/2 or DEC to SunOS or BSD. For the same reason some people prefe

Re: Vectors

2011-04-23 Thread Algis Kabaila
On Saturday 23 April 2011 14:13:31 sturlamolden wrote: > On Apr 23, 2:32 am, Algis Kabaila wrote: > > Thanks for that. Last time I looked at numpy (for Python3) > > it was available in source only. I know, real men do > > compile, but I am an old man... I will compile if it is > > unavoidable,

Re: Vectors

2011-04-22 Thread sturlamolden
On Apr 23, 2:32 am, Algis Kabaila wrote: > Thanks for that.  Last time I looked at numpy (for Python3) it > was available in source only.  I know, real men do compile, but > I am an old man...  I will compile if it is unavoidable, but in > case of numpy it does not seem  a simple matter. Am I bad

Re: Vectors

2011-04-22 Thread Algis Kabaila
On Saturday 23 April 2011 06:57:23 sturlamolden wrote: > On Apr 20, 9:47 am, Algis Kabaila wrote: > > 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? >

Re: Vectors

2011-04-22 Thread sturlamolden
On Apr 20, 9:47 am, Algis Kabaila wrote: > 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 Or one of these libraries (ctypes or Cython): BLAS (Intel MK

Re: Vectors

2011-04-22 Thread Algis Kabaila
On Friday 22 April 2011 11:43:26 Gregory Ewing wrote: > Algis Kabaila wrote: > > the Vector3 class > > is available without any prefix euclid: > > > > import euclid > > v = Vector3(111.., 222.2, 333.3) > > Doesn't work that way for me: > > Python 2.7 (r27:82500, Oct 15 2010, 21:14:33) > [GCC 4.2

Re: Vectors

2011-04-21 Thread Gregory Ewing
Algis Kabaila wrote: the Vector3 class is available without any prefix euclid: import euclid v = Vector3(111.., 222.2, 333.3) Doesn't work that way for me: Python 2.7 (r27:82500, Oct 15 2010, 21:14:33) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "lic

Re: Vectors

2011-04-21 Thread Anssi Saari
Andreas Tawn writes: > You might also want to consider http://code.google.com/p/pyeuclid/ Thanks, I was studying quaternions recently and had to use two packages to get some stuff done. And of course one of them used ass-backwards declaration for a quaternion and one didn't... -- http://mail.py

Re: Vectors

2011-04-21 Thread Algis Kabaila
On Thursday 21 April 2011 01:49:57 Andreas Tawn wrote: > > On Apr 20, 6:43 am, Andreas Tawn wrote: > > > > Algis Kabaila writes: > > > > > Are there any modules for vector algebra (three > > > > > dimensional vectors, vector addition, subtraction, > > > > > multiplication [scalar and vector]. Co

RE: Vectors

2011-04-20 Thread Andreas Tawn
> On Apr 20, 6:43 am, Andreas Tawn wrote: > > > 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 ha

Re: Vectors

2011-04-20 Thread RJB
On Apr 20, 6:43 am, Andreas Tawn wrote: > > 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 mat

RE: Vectors

2011-04-20 Thread Andreas Tawn
> 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 > operati

Re: Vectors

2011-04-20 Thread Anssi Saari
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 mentio

Re: Vectors

2011-04-20 Thread Chris Rebert
On Wed, Apr 20, 2011 at 12:47 AM, Algis Kabaila 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

Re: Vectors in Visual Python

2005-02-25 Thread Diez B. Roggisch
FLChamp wrote: > If anything was addressed to my problem then it has completely passed > me by as most points were clearly made by a computer scientist and I am > not one of those in the slightest. My experience of using any type of > programming language is limited to the little we are taught in

Re: Vectors in Visual Python

2005-02-24 Thread FLChamp
Thanks for all your help everyone, if only it had addressed what I had asked I may have actually learned something about Python!! If anything was addressed to my problem then it has completely passed me by as most points were clearly made by a computer scientist and I am not one of those in the sl

Re: Vectors in Visual Python

2005-02-10 Thread Arthur
On Thu, 10 Feb 2005 09:59:41 +0100, [EMAIL PROTECTED] (Alex Martelli) wrote: >Arthur <[EMAIL PROTECTED]> wrote: > >> thinking that the visciousness with wihich you were attacking someone >> suggesting a proposal for an optional feature - even if an iill >> adivised proposal for and ill advised opt

Re: Vectors in Visual Python

2005-02-10 Thread Alex Martelli
Arthur <[EMAIL PROTECTED]> wrote: > thinking that the visciousness with wihich you were attacking someone > suggesting a proposal for an optional feature - even if an iill > adivised proposal for and ill advised optional feature (I frankly > don't care much about that part of the discussion one wa

Re: Vectors in Visual Python

2005-02-09 Thread Arthur
On Thu, 10 Feb 2005 00:16:05 +0100, [EMAIL PROTECTED] (Alex Martelli) wrote: > Having found out how to >build a lasting killfile, I'd like to see if using it liberally on >people who appear to post here just to provoke flamewars, rather than to >offer and receive help, and participate in interesti

Re: Vectors in Visual Python

2005-02-09 Thread Arthur
On Thu, 10 Feb 2005 00:16:05 +0100, [EMAIL PROTECTED] (Alex Martelli) wrote: >Arthur <[EMAIL PROTECTED]> wrote: > > >Please clarify if you were making a lame joke without smilies, are >utterly confused about what "declaration" *MEANS*, or what other folly >prompted you to this astounding remark, t

Re: Vectors in Visual Python

2005-02-09 Thread Alex Martelli
Terry Reedy <[EMAIL PROTECTED]> wrote: > I (and I believe Alex) object to name declaration *statements* and/or the > strong typing of *names*. I confirm that my key objection is to declarations in the strict sense: thingies that aren't executable, but rather billets doux to the compiler, for exam

Re: Vectors in Visual Python

2005-02-09 Thread Alex Martelli
Arthur <[EMAIL PROTECTED]> wrote: > is that VPython "vectors" are in effect flat 3 element Numeric arrays, > and Numeric ararys can be constructed with Float64 specified as the > datatype. (wonder if that speciufication is a "declaration", and if > so whether that would indicate some conflict bet

Re: Vectors in Visual Python

2005-02-09 Thread Terry Reedy
"Arthur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > is that VPython "vectors" are in effect flat 3 element Numeric arrays, > and Numeric ararys can be constructed with Float64 specified as the > datatype. (wonder if that speciufication is a "declaration", and if > so whether t

Re: Vectors in Visual Python

2005-02-09 Thread Arthur
On 9 Feb 2005 02:29:35 -0800, "FLChamp" <[EMAIL PROTECTED]> wrote: >SOrry if this message is a little confused, it most probably reflects >the state of the author! One bit of confusion is in names. There was a name space clash early on. As things shook out "Visual Python" is ActiveState's Pytho