![]() |
Stan Math Library
5.3.0
Automatic Differentiation
|
|
inline |
If first argument is true return the second argument, else return the third argument.
Overload for use with an Eigen array of booleans, one Eigen array and a scalar as input.
| T_bool | type of Eigen boolean object |
| T_true | A stan Scalar type or Eigen Array type |
| T_false | A stan Scalar type or Eigen Array type |
| c | Eigen object of boolean condition values. |
| y_true | Value to return if condition is true. |
| y_false | Value to return if condition is false. |
Definition at line 170 of file select.hpp.