LinearAlgebra
MatrixPower
determine the matrix power A^(n), as a generalized matrix function, for a Matrix A
Calling Sequence
Parameters
Description
Examples
MatrixPower(A, n, options)
A
-
square Matrix
n
numeric; scalar parameter
options
(optional); constructor options for the result object
The MatrixPower(A) command returns the Matrix power An. This is an example of a generalized Matrix function, F(A).
The scalar parameter n can be any numeric value, not only an integer.
The options option provides additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list. If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).
This function is part of the LinearAlgebra package, and so it can be used in the form MatrixPower(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[MatrixPower](..).
with⁡LinearAlgebra:
A≔Matrix⁡−13,−10,21,16
A≔−13−102116
MatrixPower⁡A,2
−41−306346
SQ≔MatrixPower⁡A,12
SQ≔15−14⁢2−10⁢2+1021⁢2−21−14+15⁢2
map⁡radnormal,SQ2
−13−102116
A≔Matrix⁡−3.0,−1.0,2.0,6.0
A≔−3.0−1.02.06.0
MatrixPower⁡A,3,readonly
−27.−25.50.198.
See Also
LinearAlgebra[MatrixFunction]
map
Matrix
radnormal
Vector
Download Help Document