[Numpy-discussion] What is __array_wrap__ supposed to do?
Charles R Harris
charlesr.harris at gmail.com
Sun Apr 27 00:39:51 EDT 2008
On Sat, Apr 26, 2008 at 10:31 PM, Andreas Klöckner <lists at informa.tiker.net>
wrote:
> On Samstag 26 April 2008, Charles R Harris wrote:
> > I'm working through the linalg module. There is currently variation as
> to
> > whether or not eigenvalues/singular_values/residuals, are returned as
> > arrays or as matrices. I'm leaning towards making them all matrices.
> What
> > do you think?
>
> IMO, the user should only get matrices if he used them to start with. I'm
> somewhat scared by all the disagreement about matrix semantics, and so if
> I
> don't touch matrices myself, I don't want them forced on me, thank you
> very
> much.
>
Well, that's what I meant, if not quite what I said.. The question is what
they
should be when the input is a matrix.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080426/cea72aff/attachment.html>
More information about the NumPy-Discussion
mailing list