[PYTHON MATRIX-SIG] Just checking in
tim@lassi.ece.uiuc.edu
tim@lassi.ece.uiuc.edu
Thu, 29 Aug 1996 13:32:26 -0500
KH writes:
>I am using this interactively, so "MatrixMultiply" has no chance. I
>redefined dot() because to me this is what dot() should do, and I have
>no use at all for the standard dot(). I like to type something
>sensible, even interactively.
>
>Of course I am not saying that I can't live with the current version
>of dot(). But unless someone can give arguments why the current
>version is *better* (or at least as good), I stick to my proposal.
I would argue that dot should act on axes (-1,-1), i.e. it should dot
the vector that compose the array's together.
Isn't matrix multiplication the same as the inner product for
matrices, so couldn't you use define a convenience function inner(A,B)
for this? Or am I off in LA LA land here?
--
-tim
+--------------------------------------------------------------------+
| Tim Hochberg Ultrahigh Speed Digital Electronics Lab |
| tim@lassi.ece.uiuc.edu University of Illinois |
| http://dogbert.ece.uiuc.edu/~tim (217) 333-6014 |
+--------------------------------------------------------------------+
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================