Logarithm of exp(x) + exp(y).
This function is useful in statistics where the calculated probabilities of events may be so small as to excede the range of normal floating point numbers. In such cases the logarithm of the calculated probability is stored. This function allows adding probabilities stored in such a fashion.
Parameters: | x : array_like
y : array_like
|
---|---|
Returns: | result : ndarray
|
See also