![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Calculates the log sum of exponentials without overflow, accounting for the signs of the inputs.
| T1 | type of the first variable |
| T2 | type of the second variable |
| a | the first variable |
| a_sign | sign of the first variable |
| b | the second variable |
| b_sign | sign of the second variable |
Definition at line 28 of file log_sum_exp_signed.hpp.