### Navigation

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

# scipy.linalg.logm

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

  Compute matrix logarithm.

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

  Parameters: | A : array, shape(M,M) Matrix whose logarithm to evaluate disp : boolean Print warning if error in the result is estimated large instead of returning estimated error. (Default: True)
  Returns: | logA : array, shape(M,M) Matrix logarithm of A (if disp == False) : errest : float 1-norm of the estimated error, ||err||_1 / ||A||_1

### Navigation

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