evalm - evaluate a matrix expression
|
Calling Sequence
|
|
evalm(matrix expression)
|
|
Parameters
|
|
matrix expression
|
-
|
expression
|
|
|
|
|
Description
|
|
•
|
The function evalm evaluates an expression involving matrices. It performs any sums, products, or integer powers involving matrices, and will map functions onto matrices.
|
•
|
Note that Maple may perform simplifications before passing the arguments to evalm, and these simplifications may not be valid for matrices. For example, evalm(A^0) will return 1, not the identity matrix.
|
•
|
Unassigned names will be considered either symbolic matrices or scalars depending on their use in an expression.
|
•
|
To indicate non-commutative matrix multiplication, use the operator &*. The matrix product ABC may be entered as or as , the latter being more efficient. Automatic simplifications such as collecting constants and powers will be applied. Do NOT use the * to indicate purely matrix multiplication, as this will result in an error. The operands of &* must be matrices (or names) with the exception of 0. Unevaluated matrix products are considered to be matrices. The operator &* has the same precedence as the * operator.
|
•
|
Use 0 to denote the matrix or scalar zero. Use to denote the matrix identity. It may be convenient to use alias(Id=&*()).
|
•
|
If a sum involves a matrix and a Maple constant, the constant will be considered as a constant multiple of the identity matrix. Hence matrix polynomials can be entered in exactly the same fashion as fully expanded scalar polynomials.
|
|
|
Examples
|
|
Important: The evalm command has been deprecated. Matrix algebra expressions involving Matrices such as are evaluated directly, eliminating the need for the additional step of applying evalm. For additional information, see Linear Algebra Computations in Maple.
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?