logm
- :
l =logm(A)¶ - :
[l, exitflag] =logm(A)¶ Principal matrix logarithm of the square matrix A.
The logarithm is computed from the complex Schur form by repeated square roots of the triangular factor followed by a Gauss-Legendre quadrature of the integral
log (I+X) = int_0^1 X * inv (I + t*X) dt. The result is real for real A without eigenvalues on the closed negative real axis. exitflag is 0 on success. A second input argument is accepted and ignored.