<< kron | Linear algebra | lu >> |
res = logm(x) |
a numeric value: scalar or square matrix (double or single)
a numeric value: a square matrix
expm(x) computes the matrix logarithm 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 = logm(A)
res = logm(A+i)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET