[Numpy-discussion] Should dot return 1x1 matrix as scalar?

Alan Isaac aisaac at american.edu
Fri Jan 13 11:09:04 CST 2006


On Fri, 13 Jan 2006, Travis Oliphant wrote: 
> 3) Return scalars instead of 1x1 matrices inside of __array_finalize__ 
> (where the magic of ensuring matrices are rank-2 arrays is actually done). 

Just for multiplication, or also for addition etc?
Alan Isaac





More information about the Numpy-discussion mailing list