### Navigation

- index
- modules |
- NumPy v1.3 Manual (DRAFT) »

# numpy.logaddexp

`numpy.``logaddexp`(x1, x2[, out])

  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 Input values. y : array_like Input values.
  Returns: | result : ndarray Logarithm of exp(x) + exp(y).

  See also

  `logaddexp2`

### Navigation

- index
- modules |
- NumPy v1.3 Manual (DRAFT) »