### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Linear algebra (`scipy.linalg`) »

# scipy.linalg.logm

`scipy.linalg.``logm`(A, disp=True)

  Compute matrix logarithm.

  The matrix logarithm is the inverse of expm: expm(logm(A)) == A

  Parameters : | A : (N, N) array_like Matrix whose logarithm to evaluate disp : bool, optional Print warning if error in the result is estimated large instead of returning estimated error. (Default: True)
  Returns : | logm : (N, N) ndarray Matrix logarithm of A errest : float (if disp == False) 1-norm of the estimated error, ||err||_1 / ||A||_1

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Linear algebra (`scipy.linalg`) »