Namespaces | |
| namespace | drake |
Functions | |
cond | |
Constructs conditional expression (similar to Lisp's cond). cond(cond_1, expr_1,
cond_2, expr_2,
..., ...,
cond_n, expr_n,
expr_{n+1})
The value returned by the above cond expression is
| |
| template<typename ScalarType> | |
| ScalarType | cond (const ScalarType &e) |
| template<typename ScalarType, typename... Rest> | |
| ScalarType | cond (const decltype(ScalarType()< ScalarType())&f_cond, const ScalarType &e_then, Rest... rest) |