exp(G)

NAME
exp - exponential, matrix exponential

CALLING SEQUENCE
exp(X)

PARAMETERS

X   : a vector or a square matrix with real or complex entries.

DESCRIPTION
If X is a vector (or a non-square matrix) exp(X) is the (element-wise) exponential of the entries of X, e to the X.

If X is a square matrix exp(X) is the matrix exp(X) = I + X + X^2 /2 + ... The computation is performed by first block-diagonalizing X and then applying a Pade approximation on each block.

SEE ALSO
bdiag, coff, log