[Numpy-discussion] missing array type
Sasha
ndarray at mac.com
Mon Feb 27 14:27:13 EST 2006
It looks like what you want is a zero-stride array that I proposed
some time ago. See "zeros in strides" thread
<http://sourceforge.net/mailarchive/forum.php?thread_id=9629046&forum_id=4890>.
I've posted a patch to the list, but it was met with a mild opposition
from Travis, so I've never committed it to SVN. The final word was:
"""
I would also like to get more opinions about Sasha's proposal for
zero-stride arrays.
-Travis
"""
If you agree that zero-stride array would provide the functionality
that you need, it may tip the ballance towards accepting that patch.
On 2/27/06, Alan G Isaac <aisaac at american.edu> wrote:
> The recent discussion of Matlab's repmat
> plus some recent use of grids leads me to ask:
> should numpy contain a true repeated array object,
> where one single copy of the data supports
> a full set of array operations? (So that,
> e.g., repmat(x,(3,2)) would simply point
> to the x data or, if desired, make a single
> copy of it.)
>
> And actually this seems a special case of
> a truly space-saving Kronecker product.
>
> Cheers,
> Alan Isaac
>
>
>
>
> -------------------------------------------------------
> 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=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
More information about the NumPy-Discussion
mailing list