log_sum_exp_2 {updog} | R Documentation |
Log-sum-exponential trick using just two doubles.
Description
Log-sum-exponential trick using just two doubles.
Usage
log_sum_exp_2(x, y)
Arguments
x |
A double. |
y |
Another double. |
Value
The log of the sum of the exponential of x and y.
Author(s)
David Gerard
[Package updog version 2.1.5 Index]