Stan Math Library
4.9.0
Automatic Differentiation
|
If the specified condition is true, return a new variable constructed from the first scalar, otherwise return the second variable.
c | Boolean condition. |
y_true | Value to promote to variable and return if condition is true. |
y_false | Variable to return if condition is false. |
Definition at line 30 of file if_else.hpp.