Compute the log of the sum of exponentials of input elements.
a : array_like
Input array.
res : ndarray
The result, np.log(np.sum(np.exp(a))) calculated in a numerically more stable way.
See also
numpy.logaddexp, numpy.logaddexp2
Notes
Numpy has a logaddexp function which is very similar to logsumexp.
scipy.maxentropy.innerprodtranspose
Enter search terms or a module, class or function name.