[Numpy-discussion] matrixmultiply: return type

Alan G Isaac aisaac at american.edu
Sat Oct 16 15:53:02 CDT 2004

Being new to numerical Python applications,
I was a little puzzled/concerned when I read
I *think* the answer is:
matrixmultiply will always return an array.

Is there a stable view about what type of object will be
returned by matrixmultiply?  Currently, to my initial
surprise, it returns an array when the arguments are
matrices.  Is this stable?

Might an optional argument to specify the return type
be desirable?

Thank you,
Alan Isaac

More information about the Numpy-discussion mailing list