[Numpy-discussion] Generically Creating Intermediate Data Compatible with Either ndarray or MasledArray Types
Tue Apr 8 03:21:41 CDT 2008
Am Dienstag, 11. März 2008 20:57:30 schrieb Alexander Michael:
> Incidentally, while ones_like appears to play nice with derived
> classes, empty_like and zeros_like do not seem to do the same.
Shouldn't this be fixed? (Obviously, this stems from the fact that ones_like
is implemented in C, while the two others are helpers by fperez copied over
Maybe using Robert's suggestion? (Patch attached.) Or implement them all the
Ciao, / /
/ / ANS
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 722 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080408/cecd0223/attachment.bin
More information about the Numpy-discussion