to post what you have exactly done as the phrase
"from import ..." can't be it.
Claudio Grondi
>
> what's the difference between 'import numpy', and "from import numpy *"
>
> comments...
>
> thanks
>
> -bruce
>
>
> -O
bruce wrote:
> robert
>
> i did an
> python>>> import numpy
> a = array([['q','a'],['w','e']])
>
> and it didn't work...
>
> i used
> >>from import numpy *
>
> and it seems to accept the 'array' word.. .looks like it will work...
>
> what's the difference between 'import numpy', an
the difference between 'import numpy', and "from import numpy *"
comments...
thanks
-bruce
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Robert Kern
Sent: Tuesday, July 04, 2006 9:42 PM
To: python-list@python.org
Subject: Re: numarra
bruce wrote:
> hi...
>
> i'm trying to find numarray.. i found the numpy on sourceforge and
> downloaded/installed..
>
> i did a
> python>> import numarray
>
> and got an error...
Never just say "I got an error." It tells us nothing. Copy-and-paste the exact
error message. I presume, however,
Robert Kern wrote:
> Sébastien Boisgérault wrote:
> > Robert Kern wrote:
> >
> >>Sébastien Boisgérault wrote:
> >>
> >>>By the way, I tried numpy 0.9.4 10 minutes ago and guess
> >>>what ? 'eigenvalue' is broken too ... (hangs forever)
> >>
> >>On what platform?
> >
> > Linux, Mandriva 2006 (gcc 4
[EMAIL PROTECTED] wrote:
> Robert Kern wrote:
> > Sébastien Boisgérault wrote:
> >
> > > By the way, I tried numpy 0.9.4 10 minutes ago and guess
> > > what ? 'eigenvalue' is broken too ... (hangs forever)
> >
> > On what platform? Are you linking against an optimized BLAS? We can't fix
> > anythi
Sébastien Boisgérault wrote:
> Robert Kern wrote:
>
>>Sébastien Boisgérault wrote:
>>
>>>By the way, I tried numpy 0.9.4 10 minutes ago and guess
>>>what ? 'eigenvalue' is broken too ... (hangs forever)
>>
>>On what platform?
>
> Linux, Mandriva 2006 (gcc 4.0.1, etc.)
Okay, my answer then is, "D
Robert Kern wrote:
> Sébastien Boisgérault wrote:
>
> > By the way, I tried numpy 0.9.4 10 minutes ago and guess
> > what ? 'eigenvalue' is broken too ... (hangs forever)
>
> On what platform?
Linux, Mandriva 2006 (gcc 4.0.1, etc.)
> Are you linking against an optimized BLAS?
Nope -- I tried the ba
Robert Kern wrote:
> Sébastien Boisgérault wrote:
>
> > By the way, I tried numpy 0.9.4 10 minutes ago and guess
> > what ? 'eigenvalue' is broken too ... (hangs forever)
>
> On what platform? Are you linking against an optimized BLAS? We can't fix
> anything without details. I'll be happy to work
Szabolcs Nagy wrote:
>>Basically all I need is vectors and 3x3 matrices.
>
>
> hmm
> is numpy really efficient for 3x3 (or 4x4) matrices and vectors?
>
> IMHO an optimized matrix4x4 class can be much faster (i'm just guessing
> here)
>
> eg cgtypes is a simple c++ implementation with boost-pyth
> Basically all I need is vectors and 3x3 matrices.
hmm
is numpy really efficient for 3x3 (or 4x4) matrices and vectors?
IMHO an optimized matrix4x4 class can be much faster (i'm just guessing
here)
eg cgtypes is a simple c++ implementation with boost-python wrapper:
http://cgkit.sourceforge.ne
Sébastien Boisgérault wrote:
> By the way, I tried numpy 0.9.4 10 minutes ago and guess
> what ? 'eigenvalue' is broken too ... (hangs forever)
On what platform? Are you linking against an optimized BLAS? We can't fix
anything without details. I'll be happy to work with you on this bug over on th
Robert Kern wrote:
> J wrote:
> > I will just jump in an use NumPy. I hope this one will stick and evolve
> > into the mother of array packages.
> > How stable is it ? For now I really just need basic linear algebra.
> > i.e. matrix multiplication, dot, cross etc
Same concern for me.
I discovere
On Sat, 21 Jan 2006, Robert Kern wrote:
> Tom Anderson wrote:
>
>> Pardon my failure to RTFM, but does NumPy pick up the vecLib BLAS on Macs?
>
> Yes.
Excellent, thanks.
tom
--
forget everything from school -- you are programmer
--
http://mail.python.org/mailman/listinfo/python-list
"J" <[EMAIL PROTECTED]> writes:
> I hope the title of this message indicates my question. I am looking
> for basic
> array functionality in Python and it turns out that there are all these
> packages which
> are somehow related. Some are allegedly discontinued but still seem to
> get updated.
It
Tom Anderson wrote:
> Pardon my failure to RTFM, but does NumPy pick up the vecLib BLAS on Macs?
Yes.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
--
http://mail.python.org/mailman/listinfo/p
On Sat, 21 Jan 2006, Travis E. Oliphant wrote:
> J wrote:
>
>> I will just jump in an use NumPy. I hope this one will stick and evolve
>> into the mother of array packages. How stable is it ? For now I really
>> just need basic linear algebra. i.e. matrix multiplication, dot, cross
>> etc
>
> T
J wrote:
> I will just jump in an use NumPy. I hope this one will stick and evolve
> into the mother of array packages.
> How stable is it ? For now I really just need basic linear algebra.
> i.e. matrix multiplication, dot, cross etc
>
There is a new release coming out this weekend. It's close
J wrote:
> I will just jump in an use NumPy. I hope this one will stick and evolve
> into the mother of array packages.
> How stable is it ? For now I really just need basic linear algebra.
> i.e. matrix multiplication, dot, cross etc
That stuff isn't going to change on you.
--
Robert Kern
[EMAI
I will just jump in an use NumPy. I hope this one will stick and evolve
into the mother of array packages.
How stable is it ? For now I really just need basic linear algebra.
i.e. matrix multiplication, dot, cross etc
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
J wrote:
> Ok, I will look at NumPy ...
>
> I have another question about performance. Are the array operations
> such as matrix multiplication implemented in
> python or in C ? I was under the impression that the function calls in
> numarray are only wrappers to C code, but now I suspect that mat
Ok, I will look at NumPy ...
I have another question about performance. Are the array operations
such as matrix multiplication implemented in
python or in C ? I was under the impression that the function calls in
numarray are only wrappers to C code, but now I suspect that matrix
multiplicaiton is
J wrote:
> Hi
>
> I hope the title of this message indicates my question. I am looking
> for basic
> array functionality in Python and it turns out that there are all these
> packages which
> are somehow related. Some are allegedly discontinued but still seem to
> get updated. Could we start a dis
Claudio Grondi wrote:
> I decided to use numarray, so maybe you can report what your problem/bug
> is before I run into it myself? The reason why I decided to use numarray
> was, that the whole scpy_core story seems to get more or less commercial
> and its free version comes because of this wit
J wrote:
> Hi
>
> I hope the title of this message indicates my question. I am looking
> for basic
> array functionality in Python and it turns out that there are all these
> packages which
> are somehow related. Some are allegedly discontinued but still seem to
> get updated. Could we start a dis
J wrote:
> Hi
>
> I hope the title of this message indicates my question. I am looking
> for basic
> array functionality in Python and it turns out that there are all these
> packages which
> are somehow related. Some are allegedly discontinued but still seem to
> get updated. Could we start a dis
Mandus wrote:
> Tue, 20 Dec 2005 19:32:13 +0530 skrev Suresh Jeevanandam:
>
>>Hi all,
>> Lets say I have an array:
>> from numarray import *
>> a = array([ 6, 7, 8, 9, 10, 11, 12])
>>
>> I want to multiply out all the elements and get the result.
>>
>> r = 1.0
>>
Suresh Jeevanandam wrote:
> Hi all,
> Lets say I have an array:
> from numarray import *
> a = array([ 6, 7, 8, 9, 10, 11, 12])
>
> I want to multiply out all the elements and get the result.
>
> r = 1.0
> for i in a:
> r = r*i
>
>
Tue, 20 Dec 2005 19:32:13 +0530 skrev Suresh Jeevanandam:
> Hi all,
> Lets say I have an array:
> from numarray import *
> a = array([ 6, 7, 8, 9, 10, 11, 12])
>
> I want to multiply out all the elements and get the result.
>
> r = 1.0
> for i in a:
>
Matt Feinstein wrote:
> If I try
>
>
2 < array([1,2,3])
>
>
> I get:
>
> array([0, 0, 1], type=Bool)
>
> which is pretty slick, However if I set
>
>
q = 2 < array([1,2,3])
q and q
>
>
> I get a runtime error: "An array doesn't make sense as a truth value."
>
> So.. why not?
ChinStrap wrote:
I know there are probably alternatives for this with the standard
library, but I think that would kill the speed I get with numarray:
Say I have two 2-dimensional numarrays (x_mat and y_mat, say), and a
function f(x,y) that I would like to evaluate at every index.
Basically I want
Oh well. I am downloading all the things to build it, but in the mean
time I just did:
def get_y_mat(x_ind,y_ind):
return self.y_min + y_ind*self.dy
def get_x_mat(x_ind,y_ind):
return self.x_min + x_ind*self.dx
self.x_mat=fromfunction(get_x_mat,m
ChinStrap wrote:
Are there no windows binaries for SciPy for python 2.4 yet? I try to
run the installer and it complains that it can't find python 2.3.
No, not yet.
Besides that, vectorize is exactly what i want.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
A
Are there no windows binaries for SciPy for python 2.4 yet? I try to
run the installer and it complains that it can't find python 2.3.
Besides that, vectorize is exactly what i want.
--
http://mail.python.org/mailman/listinfo/python-list
ChinStrap wrote:
I know there are probably alternatives for this with the standard
library, but I think that would kill the speed I get with numarray:
Say I have two 2-dimensional numarrays (x_mat and y_mat, say), and a
function f(x,y) that I would like to evaluate at every index.
Basically I want
35 matches
Mail list logo