Vectors

Algis Kabaila akabaila at pcug.org.au
Mon Apr 25 09:05:38 CEST 2011


On Monday 25 April 2011 12:59:38 rusi wrote:
> On Apr 25, 4:49 am, Robert Kern <robert.k... at gmail.com> 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<akaba... at pcug.org.au>
> > > 
> > > 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 MKL, ACML, ACML-GPU, GotoBLAS2, or ATLAS)
> > >> Intel VML
> > >> ACML-VM
> > > 
> > > 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 badly mistaken?
> > 
> > On UNIX machines with compilers and headers properly
> > installed, it's really pretty straightforward.
> 
> Mostly (on ubuntu/debian) that means do this [Untested]
> $ aptitude build-dep python-numpy
> Then you should be ready to build/compile numpy from source

Thank you, Robert and Rusi,

I will try it RSN, but first the latest version of ubuntu that 
should become available this week (including today?!).

OldAl.
-- 
Algis
http://akabaila.pcug.org.au/StructuralAnalysis.pdf



More information about the Python-list mailing list