[Numpy-discussion] proposing a "beware of [as]matrix()" warning

Alan G Isaac aisaac@american....
Wed Apr 28 13:12:07 CDT 2010

On 4/28/2010 12:05 PM, Travis Oliphant wrote:
> A proposal was made to allow "calling a NumPy array" to infer dot
> product:
> a(b) is equivalent to dot(a,b)
> a(b)(c) would be equivalent to dot(dot(a,b),c)

Here is a related ticket that proposes a more
explicit alternative: adding a ``dot`` method
to ndarray.


More information about the NumPy-Discussion mailing list