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