[Numpy-discussion] What is __array_wrap__ supposed to do?
Charles R Harris
Sat Apr 26 23:39:51 CDT 2008
On Sat, Apr 26, 2008 at 10:31 PM, Andreas Klöckner <email@example.com>
> On Samstag 26 April 2008, Charles R Harris wrote:
> > I'm working through the linalg module. There is currently variation as
> > whether or not eigenvalues/singular_values/residuals, are returned as
> > arrays or as matrices. I'm leaning towards making them all matrices.
> > 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
> don't touch matrices myself, I don't want them forced on me, thank you
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...
More information about the Numpy-discussion