### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Maximum entropy models (`scipy.maxentropy`) »

# scipy.maxentropy.maxentutils.robustlog

`scipy.maxentropy.maxentutils.``robustlog`(x)

  Returns log(x) if x > 0, the complex log cmath.log(x) if x < 0, or float(‘-inf’) if x == 0.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Maximum entropy models (`scipy.maxentropy`) »