Re[2]: [Numpy-discussion] missing array type
by Alan G Isaac other posts by this author
Feb 27 2006 3:43PM messages near this date
Re: [Numpy-discussion] missing array type
|
[Numpy-discussion] bug report: nonzero on masked arrays
On Mon, 27 Feb 2006, Sasha apparently wrote:
> If you agree that zero-stride array would provide the
> functionality that you need, it may tip the ballance
> towards accepting that patch.
I am out of my technical depth here. Based on your
examples, zero-stride arrays seem both logical and
desirable. They do seem just right for a simpler (and
substantially generalized) nd_grid. But I think they only
partially address problems two other that have come up.
1. repmat
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/repmat.html#998661
Perhaps you will say that the best representation of
a repmat will use 4 dimensions, two with zero strides?
I wonder if a more general cycling is needed for a natural
repeated matrix.
2. Kronecker product:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/kron.html#998881
This seems a different issue altogether. I suspect the
right way to produce kron(x,y) is usually as a class
whose data is x and y, with the Kronecker product never
actually stored in memory. I do not see zero-stride
arrays as helping here.
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@[...].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
|