March 2003
Intermediate to advanced
656 pages
39h 30m
English
matrixmultiply
matrixmultiply(a,b)
Returns an array m with
a times b in
the matrix-multiplication sense, rather than element-wise
multiplication.
a
.shape[-1] must equal
b
.shape[0], and
m
.shape is the tuple
a
.shape[:-1]+
b
.shape[1:].