matrix-matrix or matrix-vector multiplication
multiply(A, B, ... )
A, B, ...
Important: The linalg package has been deprecated. Use the superseding commands, LinearAlgebra[MatrixMatrixMultiply] and LinearAlgebra[MatrixVectorMultiply], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The function multiply(A, B,...) calculates the matrix product A B ... . The dimensions of each matrix must be consistent with the rules of matrix multiplication.
The call multiply(A, v), for a matrix A and vector v, calculates the matrix-vector product A v. The number of entries in v must be equal to the number of columns of A. Thus if A is an n x m matrix, vectdim(v) must be m. The result is a vector with n entries.
The evalm command provides an easy method of accessing multiply.
The command with(linalg,multiply) allows the use of the abbreviated form of this command.
Download Help Document
What kind of issue would you like to report? (Optional)