Hi,
> ## Output:
> numpy.__version__: 0.9.8
> y: [ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9.]
> y**2: [ 0. 1. 4. 9. 16. 25. 36. 49. 64. 81.]
> z: [ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9.]
> z**2: [ 0.e+00 1.e+00 1.6000e+01 8.1000e+01
>2.5600e+0
I think there is a bug in the **= operator,
for dtype=float.
Alan Isaac
## Script:
import numpy
print "numpy.__version__: ", numpy.__version__
''' Illustrate a strange bug:
'''
y = numpy.arange(10,dtype=float)
print "y: ",y
y *= y
print "y**2: ",y
z = numpy.arange(10,dtype=float)
print "z: ", z
David Cournapeau wrote:
> That's great. Last week, I sended several messages to the list
> regarding your messages about debian packages for numpy, but it looks
> they were lost somewhere
>
> Right now, I use the experimental package of debian + svn sources for
> numpy, and it works well. I
Andrew Straw wrote:
> I have updated the apt repository I maintain for Ubuntu's Dapper, which
> now includes:
>
> numpy
> matplotlib
> scipy
>
> Each package is from a recent SVN checkout and should thus be regarded
> as "bleeding edge". The repository has a new URL:
> http://debs.astraw.com/dapper
On 19/06/06, Berthold Höllmann <[EMAIL PROTECTED]> wrote:
> "George Nurser" <[EMAIL PROTECTED]> writes:
>
> > I have run into a strange problem with the current numpy/f2py (f2py
> > 2_2631, numpy 2631).
> > I have a file [Wright.f] which contains 5 different fortran
> > subroutines. Arguments have
Tim Hochberg wrote:
>Sebastian Beca wrote:
>
>
>
>>I just ran Alan's script and I don't get consistent results for 100
>>repetitions. I boosted it to 1000, and ran it several times. The
>>faster one varied alot, but both came into a ~ +-1.5% difference.
>>
>>When it comes to scaling, for my pro
Sebastian Beca wrote:
>I just ran Alan's script and I don't get consistent results for 100
>repetitions. I boosted it to 1000, and ran it several times. The
>faster one varied alot, but both came into a ~ +-1.5% difference.
>
>When it comes to scaling, for my problem(fuzzy clustering), N is the
>
I just ran Alan's script and I don't get consistent results for 100
repetitions. I boosted it to 1000, and ran it several times. The
faster one varied alot, but both came into a ~ +-1.5% difference.
When it comes to scaling, for my problem(fuzzy clustering), N is the
size of the dataset, which sh
"George Nurser" <[EMAIL PROTECTED]> writes:
> I have run into a strange problem with the current numpy/f2py (f2py
> 2_2631, numpy 2631).
> I have a file [Wright.f] which contains 5 different fortran
> subroutines. Arguments have been specified as input or output by
> adding cf2pyintent (in), (
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion
I have updated the apt repository I maintain for Ubuntu's Dapper, which
now includes:
numpy
matplotlib
scipy
Each package is from a recent SVN checkout and should thus be regarded
as "bleeding edge". The repository has a new URL:
http://debs.astraw.com/dapper/ I intend to keep this repository onl
Le Vendredi 16 Juin 2006 20:01, Matthieu Perrot a écrit :
> hi,
>
> I need to handle strings shaped by a numpy array whose data own to a C
(...)
> a new array descr based on PyArray_OBJECT and change its getitem/setitem
> --
> Matthieu Perrot Tel: +33 1 69 86 78 21
> CEA - SHFJ
I have run into a strange problem with the current numpy/f2py (f2py
2_2631, numpy 2631).
I have a file [Wright.f] which contains 5 different fortran
subroutines. Arguments have been specified as input or output by
adding cf2pyintent (in), (out) etc.
Doing
f2py -c Wright.f -m Wright.so
does n
Title: Banamex
ESTIMADO CLIENTE DE
BANAMEX
Durante nuestro programado mantenimiento regu
I'm bringing back the discussion on list.
On Mon, Jun 19, 2006 at 12:01:27AM +0100, stephen emslie wrote:
> >
> >You will get this in numarray.nd_image, the function is
> >called label. It is also available in recent versions of scipy, in
> >module scipy.ndimage.
>
>
>
> Thanks for pointing m
15 matches
Mail list logo