Template Function proxsuite::helpers::select
Defined in File common.hpp
Function Documentation
- template<typename Condition, typename T, typename Scalar> auto proxsuite::helpers::select (Condition const &condition, T const &expr, const Scalar value) PROXSUITE_DEDUCE_RET((condition).select(expr
Select the components of the expression if the condition is fullfiled. Otherwise, set the component to value.