linalg(deprecated)/exponential - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : linalg(deprecated)/exponential

linalg(deprecated)

  

exponential

  

matrix exponential

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

exponential(A)

exponential(A, t)

Parameters

A

-

square matrix

t

-

(optional) scalar parameter of type name

Description

• 

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.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[MatrixExponential], instead.

> 

with⁡linalg:

> 

A≔array⁡t,0,0,0,t,0,0,0,t

A≔t000t000t

(1)
> 

exponential⁡A

ⅇt000ⅇt000ⅇt

(2)
> 

B≔array⁡−13,−10,21,16

B≔−13−102116

(3)
> 

exponential⁡B,t

15⁢ⅇt−14⁢ⅇ2⁢t−10⁢ⅇ2⁢t+10⁢ⅇt21⁢ⅇ2⁢t−21⁢ⅇt−14⁢ⅇt+15⁢ⅇ2⁢t

(4)

See Also

exp

LinearAlgebra