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, ⅇAt, is a matrix with the same shape as A and is defined as follows: ⅇAt=I+At+12!A2t2+... 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.
withlinalg:
A≔arrayt,0,0,0,t,0,0,0,t
A≔t000t000t
exponentialA
ⅇt000ⅇt000ⅇt
B≔array−13,−10,21,16
B≔−13−102116
exponentialB,t
15ⅇt−14ⅇ2t−10ⅇ2t+10ⅇt21ⅇ2t−21ⅇt−14ⅇt+15ⅇ2t
See Also
exp
LinearAlgebra
Download Help Document