Stéfan van der Walt wrote:
> Hi John
>
> 2009/5/20 :
>
>> On Wed, May 20, 2009 at 3:07 PM, John Hunter wrote:
>>
>>> We are trying to build and test mpl installers for python2.4, 2.5 and
>>> 2.6. What we are finding is that if we build mpl against a more
>>> recent numpy than the install
Klaus Nökel wrote:
> David,
>
>
>> Klaus Noekel wrote:
>>
>>> I doubt that the DLL was not physically present and rather suspect a
>>> dependency on some other DLL that was missing. The INSTALL.TXT
>>> unfortunately was not helpful. Can anybody please explain what other
>>> dependencies
On Wed, May 20, 2009 at 3:51 PM, Jochen Schroeder wrote:
> Hi all,
>
> I'm trying to help someone out with some problems with pyfftw
> (pyfftw.berlios.de). He is seeing an exception,
>
> TypeError: view() takes no keyword arguments
>
> This doesn't only happen when he uses pyfftw but also when he
On May 20, 2009, at 9:57 PM, Jochen Schroeder wrote:
> Sorry maybe I phrased my question wrongly. I don't want to change
> the code (This was just a short example).
> I just want to know why it is failing on his system and what he
> can do so that a.view(dtype='...') is working. I suspected it
On 21/05/09 00:20, Stéfan van der Walt wrote:
> Hi Jochen
>
> 2009/5/20 Jochen Schroeder :
> > I'm trying to help someone out with some problems with pyfftw
> > (pyfftw.berlios.de). He is seeing an exception,
> >
> > TypeError: view() takes no keyword arguments
> >
> > This doesn't only happen whe
Where can I find release notes? (It would be helpful if I can point to a
URL as part of the fedora release)
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
2009/5/20 Stéfan van der Walt
> Hi all,
>
> Mark Lodato outlines how to write ufuncs in Cython at
>
> http://wiki.cython.org/MarkLodato/CreatingUfuncs
>
> This is also a great way of adding generalised ufuncs:
>
> http://projects.scipy.org/numpy/wiki/GeneralLoopingFunctions
>
> Super useful!
>
T
Hi all,
Mark Lodato outlines how to write ufuncs in Cython at
http://wiki.cython.org/MarkLodato/CreatingUfuncs
This is also a great way of adding generalised ufuncs:
http://projects.scipy.org/numpy/wiki/GeneralLoopingFunctions
Super useful!
Regards
Stéfan
_
Hi Jochen
2009/5/20 Jochen Schroeder :
> I'm trying to help someone out with some problems with pyfftw
> (pyfftw.berlios.de). He is seeing an exception,
>
> TypeError: view() takes no keyword arguments
>
> This doesn't only happen when he uses pyfftw but also when he does the
> following:
>
i
Hi all,
I'm trying to help someone out with some problems with pyfftw
(pyfftw.berlios.de). He is seeing an exception,
TypeError: view() takes no keyword arguments
This doesn't only happen when he uses pyfftw but also when he does the
following:
>>> import numpy as np
>>> a=np.arange(10)
Wed, 20 May 2009 12:08:46 -0700, Grant Kelly wrote:
> I believe there is an error on this wiki page:
>
> http://www.scipy.org/NumPy_for_Matlab_Users
>
>
> MATLAB
> y=x(2,:)
> PYTHON
> y = x[2,:].copy()
>
> shouldn't the Python version be:
> y = x[1,:].copy()
>
> If not, please advise.
On Wed, May 20, 2009 at 14:46, dmitrey wrote:
> On May 20, 10:34 pm, Robert Kern wrote:
>> On Wed, May 20, 2009 at 14:24, dmitrey wrote:
>> > hi all,
>>
>> > suppose I have A that is numpy ndarray of floats, with shape n x n.
>>
>> > I want to obtain dot(A, b), b is vector of length n and norm(b
2009/5/20 Stéfan van der Walt :
> David Cournapeau also put a check in place so that the NumPy build
> will break if we forget to update the API version again.
>
> So, while we can't change the releases of NumPy out there already, we
> can at least ensure that this won't happen again.
OK, great -
Hi John
2009/5/20 :
> On Wed, May 20, 2009 at 3:07 PM, John Hunter wrote:
>> We are trying to build and test mpl installers for python2.4, 2.5 and
>> 2.6. What we are finding is that if we build mpl against a more
>> recent numpy than the installed numpy on a test machine, the import of
>> mpl
On May 20, 10:34 pm, Robert Kern wrote:
> On Wed, May 20, 2009 at 14:24, dmitrey wrote:
> > hi all,
>
> > suppose I have A that is numpy ndarray of floats, with shape n x n.
>
> > I want to obtain dot(A, b), b is vector of length n and norm(b)=1, but
> > instead of exact multiplication I want to
On Wed, May 20, 2009 at 14:24, dmitrey wrote:
> hi all,
>
> suppose I have A that is numpy ndarray of floats, with shape n x n.
>
> I want to obtain dot(A, b), b is vector of length n and norm(b)=1, but
> instead of exact multiplication I want to approximate b as a vector
> [+/- 2^m0, ± 2^m1, ± 2^
hi all,
suppose I have A that is numpy ndarray of floats, with shape n x n.
I want to obtain dot(A, b), b is vector of length n and norm(b)=1, but
instead of exact multiplication I want to approximate b as a vector
[+/- 2^m0, ± 2^m1, ± 2^m2 ,,, ± 2^m_n], m_i are integers, and then
invoke left_shi
On Wed, May 20, 2009 at 3:07 PM, John Hunter wrote:
> We are trying to build and test mpl installers for python2.4, 2.5 and
> 2.6. What we are finding is that if we build mpl against a more
> recent numpy than the installed numpy on a test machine, the import of
> mpl extension modules which depe
I believe there is an error on this wiki page:
http://www.scipy.org/NumPy_for_Matlab_Users
MATLAB
y=x(2,:)
PYTHON
y = x[2,:].copy()
shouldn't the Python version be:
y = x[1,:].copy()
If not, please advise.
Thanks,
Grant
___
Numpy-discussion ma
We are trying to build and test mpl installers for python2.4, 2.5 and
2.6. What we are finding is that if we build mpl against a more
recent numpy than the installed numpy on a test machine, the import of
mpl extension modules which depend on numpy trigger a segfault.
Eg, on python2.5 and python2
I'm happy to announce the release of Cython 0.11.2.
http://sage.math.washington.edu/home/dagss/Cython-0.11.2.tar.gz
http://sage.math.washington.edu/home/dagss/Cython-0.11.2.zip
(Will be present on the Cython front page in a few days.)
New features:
* There's now native complex floating point
On Wed, 20 May 2009 10:16:08 -0500
Ryan May wrote:
> On Wed, May 20, 2009 at 10:04 AM, Nils Wagner
> wrote:
>
>> Hi all,
>>
>> Is the value of skiprows in loadtxt restricted to values
>> in [0-10] ?
>>
>> It doesn't work for skiprows=11.
>
>
> Works for me:
>
> s = '\n'.join(map(str,range(20
On Wed, May 20, 2009 at 10:04 AM, Nils Wagner
wrote:
> Hi all,
>
> Is the value of skiprows in loadtxt restricted to values
> in [0-10] ?
>
> It doesn't work for skiprows=11.
Works for me:
s = '\n'.join(map(str,range(20)))
from StringIO import StringIO
np.loadtxt(StringIO(s), skiprows=11)
The
Hi Nils
2009/5/20 Nils Wagner :
> Is the value of skiprows in loadtxt restricted to values
> in [0-10] ?
>
> It doesn't work for skiprows=11.
I don't see this behaviour. Could you provide a code snippet?
Thanks
Stéfan
___
Numpy-discussion mailing list
On May 20, 2009, at 11:04 AM, Nils Wagner wrote:
> Hi all,
>
> Is the value of skiprows in loadtxt restricted to values
> in [0-10] ?
>
> It doesn't work for skiprows=11.
Please post an example
___
Numpy-discussion mailing list
Numpy-discussion@scipy.o
> >
> > I don't believe that the problem is specific to IDLE. Python also
> crashes when I put nothing but "import numpy" in a file and execute it with
> python.exe.
> >
> > Regarding the note on building numpy myself: the discussion in this
> forum scared me a little, because of the challenge to
Hi all,
Is the value of skiprows in loadtxt restricted to values
in [0-10] ?
It doesn't work for skiprows=11.
Nils
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Hello all Python users:
I am pleased to announce the beginning of a free Webinar series that
discusses using Python for scientific computing. Enthought will host
this free series which will take place once a month for 30-45
minutes. The schedule and length may change based on particip
Klaus Nökel wrote:
> David,
>
>
>> Klaus Noekel wrote:
>>
>>> I doubt that the DLL was not physically present and rather suspect a
>>> dependency on some other DLL that was missing. The INSTALL.TXT
>>> unfortunately was not helpful. Can anybody please explain what other
>>> dependencies
David,
>
> Klaus Noekel wrote:
> > I doubt that the DLL was not physically present and rather suspect a
> > dependency on some other DLL that was missing. The INSTALL.TXT
> > unfortunately was not helpful. Can anybody please explain what other
> > dependencies exist? Anything else I need to in
On Wed, May 20, 2009 at 7:24 AM, Cristi Constantin wrote:
> Thank you for your help. :)
>
> I used this :
> try: NData[ (NData==transparent)[:len(OData)] ] = OData[
> (NData==transparent)[:len(OData)] ]
> except: pass
>
> That means overwrite all "transparent" data from NData with valid data from
On Wed, May 20, 2009 at 7:53 AM, Cristi Constantin wrote:
> Good day, me again.
> I have this string of data :
> String = 'i want\nto go\nto the\nbeach'.
>
> I want to rotate this data to left, or to right, after is split it after
> '\n'.
> Note that it's important to use 'U' array, because i migh
Good day, me again.
I have this string of data :
String = 'i want\nto go\nto the\nbeach'.
I want to rotate this data to left, or to right, after is split it after '\n'.
Note that it's important to use 'U' array, because i might have unicode
characters in this string.
So normal, the text is:
i wa
Thank you for your help. :)
I used this :
try: NData[ (NData==transparent)[:len(OData)] ] = OData[
(NData==transparent)[:len(OData)] ]
except: pass
That means overwrite all "transparent" data from NData with valid data from
OData.
I am sure it's not the best method yet, but it's the only one th
34 matches
Mail list logo