linalg(deprecated)
exponential
matrix exponential
Calling Sequence
Parameters
Description
Examples
exponential(A)
exponential(A, t)
A
-
square matrix
t
(optional) scalar parameter of type name
Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[MatrixExponential], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The matrix exponential, ⅇA⁢t, is a matrix with the same shape as A and is defined as follows: ⅇA⁢t=I+A⁢t+12!⁢A2⁢t2+... where I is the identity matrix.
If the second parameter is not given, then the first indeterminate (if any) in the matrix is removed and used as a parameter.
The exponential function can only return a symbolic answer if the eigenvalues of A can be found. To get a floating-point approximation, use at least one floating-point entry in A.
The command with(linalg,exponential) allows the use of the abbreviated form of this command.
with⁡linalg:
A≔array⁡t,0,0,0,t,0,0,0,t
A≔t000t000t
exponential⁡A
ⅇt000ⅇt000ⅇt
B≔array⁡−13,−10,21,16
B≔−13−102116
exponential⁡B,t
15⁢ⅇt−14⁢ⅇ2⁢t−10⁢ⅇ2⁢t+10⁢ⅇt21⁢ⅇ2⁢t−21⁢ⅇt−14⁢ⅇt+15⁢ⅇ2⁢t
See Also
exp
LinearAlgebra
Download Help Document