[Numpy-discussion] Matrix construction (original) (raw)
Ed Schofield schofield at ftw.at
Thu Jun 22 03:53:44 EDT 2006
- Previous message (by thread): [Numpy-discussion] Element-by-element matrix multiplication
- Next message (by thread): [Numpy-discussion] Matrix construction
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 22/06/2006, at 12:40 AM, Bill Baxter wrote:
Actually I think using mat() (just an alias for the matrix constructor) is a bad way to do it. That mat() (and most others on that page) should probably be replaced with asmatrix() to avoid the copy.
Perhaps the 'mat' function should become an alias for 'asmatrix'.
I've thought this for a while. Then code and documentation like this
page could remain short and simple without incurring the performance
penalty.
Go on, shoot me down! :)
-- Ed
- Previous message (by thread): [Numpy-discussion] Element-by-element matrix multiplication
- Next message (by thread): [Numpy-discussion] Matrix construction
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]