<< eig | Linear algebra | gradient >> |
res = expm(x) |
a numeric value: scalar or square matrix (double or single)
a numeric value: a square matrix
expm(x) computes the matrix exponential of x.
The computation is performed by first block-diagonalizing x and then applying a Pade approximation on each block.
A = eye(3, 3);
res = expm(A)
res = expm(A+i)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET