Re: [Numpy-discussion] missing array type
by Sasha other posts by this author
Feb 28 2006 4:32AM messages near this date
Re: [Numpy-discussion] missing array type
|
Re[2]: [Numpy-discussion] missing array type
On 2/28/06, Travis Oliphant <oliphant.travis@[...].org> wrote:
> Hmm.. Could you show us again what you mean by these problems and the
> better behavior that could happen if ufuncs were changed?
From my original post
<http://sourceforge.net/mailarchive/forum.php?thread_id=9629046&forum_id=4890> :
"""
3. Fix augmented assignment operators.
Currently:
> >> x = zeros(5)
> >> x.strides=0
> >> x += 1
> >> x
array([5, 5, 5, 5, 5])
> >> x += arange(5)
> >> x
array([15, 15, 15, 15, 15])
Desired:
> >> x = zeros(5)
> >> x.strides=0
> >> x += 1
> >> x
array([1, 1, 1, 1, 1])
> >> x += arange(5)
> >> x
array([1, 2, 3, 4, 5])
"""
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@[...].net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Thread:
Alan G Isaac
Sasha
David M. Cooke
Sasha
Tim Hochberg
Colin J. Williams
Sasha
Travis Oliphant
Sasha
Travis Oliphant
Christopher Barker
Sasha
Sasha
Travis Oliphant
Sasha
Alan G Isaac
|