Re: [Numpy-discussion] Automatic matrices

2006-12-16 Thread Charles R Harris
Testing, please disregard ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Subclasses - use of __finalize__

2006-12-16 Thread Colin J. Williams
Could someone please clarify three of things? Presumably self is the object returned by the __new__ call, for a newly created subclass object or is the object created by some ndarray method? Presumably obj is whatever data was in the call to __new__, which might not be an instance of ndarr

Re: [Numpy-discussion] Automatic matrices

2006-12-16 Thread Sven Schreiber
Paulo Jose da Silva e Silva schrieb: > > Obs: I remember reading somewhere in the list that we can change the > behavior of numpy to make it return matrices as default, even in calls > for functions like zeros or ones. I don't have the reference now. Anyhow > I wanted a solution that can make any

Re: [Numpy-discussion] Automatic matrices

2006-12-16 Thread Sven Schreiber
Keith Goodman schrieb: > > There are many numpy functions that will take a matrix as input but > return an array. > > The nan functions (nanmin, nanmax, nanargmin, nanargmax, nansum) are an > example. > So that would be a bug IMHO and should be filed as a ticket. I will do that eventually if