
Matrix MultiplicationThe * binary operator normally represents the product of its operands elementbyelement, following the same conformability rules as the other binary operators. However, by marking one dimension of its left operand and one dimension of its right operand with +, * will be interpreted as a matrix multiply along the marked dimensions. The marked dimensions must have the same length. The result will have the unmarked dimensions of the left operand, followed by the unmarked dimensions of the right operand. For example, if x is a 12by25by35 array, y and z are vectors of length 35, and w is a 9by12by7 array, then:
