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.logsumexp
-
scipy.maxentropy.logsumexp(a)
Compute the log of the sum of exponentials log(e^{a_1}+...e^{a_n})
of the components of the array a, avoiding numerical overflow.