LinearAlgebra
MatrixFunction
determine F(A) for a square Matrix A
Calling Sequence
Parameters
Description
Examples
MatrixFunction(A, F, x, options)
A
-
square Matrix
F
analytic expression
x
variable; specifies the indeterminate in f to use in the Matrix polynomial construction
options
(optional); constructor options for the result object
The MatrixFunction(A) command returns the Matrix obtained by interpolating [lambda, F( lambda )] for each of the eigenvalues lambda of A, including multiplicities. Here the Matrix polynomial is r(lambda) = F(lambda) - p(lambda)*q(lambda) where p(x) is the characteristic polynomial, q(lambda) is the quotient, and r(lambda) is the remainder.
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 MatrixFunction(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[MatrixFunction](..).
with⁡LinearAlgebra:
A≔Matrix⁡−13,−10,21,16
A≔−13−102116
MatrixFunction⁡A,v2,v
−41−306346
MatrixFunction⁡A,sin⁡x,x
15⁢sin⁡1−14⁢sin⁡2−10⁢sin⁡2+10⁢sin⁡121⁢sin⁡2−21⁢sin⁡1−14⁢sin⁡1+15⁢sin⁡2
MatrixFunction⁡A,exp⁡x,x
15⁢ⅇ−14⁢ⅇ2−10⁢ⅇ2+10⁢ⅇ21⁢ⅇ2−21⁢ⅇ−14⁢ⅇ+15⁢ⅇ2
MatrixExponential⁡A,t
15⁢ⅇt−14⁢ⅇ2⁢t−10⁢ⅇ2⁢t+10⁢ⅇt21⁢ⅇ2⁢t−21⁢ⅇt−14⁢ⅇt+15⁢ⅇ2⁢t
MatrixFunction⁡A,exp⁡x⁢t,x
MatrixFunction⁡A,ln⁡x,x,readonly
−14⁢ln⁡2−10⁢ln⁡221⁢ln⁡215⁢ln⁡2
B≔Matrix⁡y
B≔y
MatrixExponential⁡B
ⅇy
MatrixFunction⁡B,exp⁡y,y
MatrixFunction⁡B,exp⁡y
See Also
indets
LinearAlgebra[MatrixExponential]
LinearAlgebra[MatrixPower]
Matrix
Vector
Download Help Document