[Numpy-discussion] What is __array_wrap__ supposed to do?

Charles R Harris charlesr.harris@gmail....
Sat Apr 26 23:39:51 CDT 2008

On Sat, Apr 26, 2008 at 10:31 PM, Andreas Klöckner <lists@informa.tiker.net>

> 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
should be when the input is a matrix.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080426/cea72aff/attachment.html 

More information about the Numpy-discussion mailing list