This is documentation for an old release of SciPy (version 0.9.0). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
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.