[Numpy-discussion] reduce-type results from matrices

Travis Oliphant oliphant.travis at ieee.org
Wed May 10 14:26:05 EDT 2006


Thanks for the discussion on Ticket #83 (whether or not to return 
scalars from matrix methods).  I like many of the comments and generally 
agree with Tim and Sasha about why bothering to replace one 
inconsistency with another.  However, I've been swayed by two facts

1) People that use matrices more seem to like having the arguments be 
returned as scalars
2) Multiplication by a 1x1 matrix won't work on most matrices but 
multiplication by a scalar will.

These two facts lean towards accepting the patch.  Therefore, Ticket #83 
patch will be applied.

Best regards,

-Travis





More information about the NumPy-Discussion mailing list