LinearAlgebra[Generic][MatrixMatrixMultiply] - compute Matrix-Matrix product
LinearAlgebra[Generic][MatrixVectorMultiply] - compute Matrix-Vector product
|
Calling Sequence
|
|
MatrixMatrixMultiply[R](A,B)
MatrixVectorMultiply[R](A,v)
|
|
Parameters
|
|
R
|
-
|
the domain of computation
|
A,B
|
-
|
matrices of values in R
|
v
|
-
|
Vector of values in R
|
|
|
|
|
Description
|
|
•
|
The (indexed) parameter R, which specifies the domain of computation, a commutative ring, must be a Maple table/module which has the following values/exports:
|
|
R[`0`] : a constant for the zero of the ring R
|
|
R[`1`] : a constant for the (multiplicative) identity of R
|
|
R[`+`] : a procedure for adding elements of R (nary)
|
|
R[`-`] : a procedure for negating and subtracting elements of R (unary and binary)
|
|
R[`*`] : a procedure for multiplying elements of R (binary and commutative)
|
|
R[`=`] : a boolean procedure for testing if two elements of R are equal
|
•
|
The parameters A, B, and v must have compatible dimensions for the product.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?