#include "proxsuite/config.hpp"#include <limits>Go to the source code of this file.
Classes | |
| struct | proxsuite::helpers::infinite_bound< Scalar > |
Namespaces | |
| namespace | proxsuite |
| namespace | proxsuite::helpers |
Macros | |
| #define | PROXSUITE_DEDUCE_RET(...) |
Functions | |
| template<typename T, typename Scalar> | |
| auto | proxsuite::helpers::at_most (T const &expr, const Scalar value) PROXSUITE_DEDUCE_RET((expr.array()< value).select(expr |
| Returns the part of the expression which is lower than value. | |
| template<typename T, typename Scalar> | |
| auto | proxsuite::helpers::at_least (T const &expr, const Scalar value) PROXSUITE_DEDUCE_RET((expr.array() > value).select(expr |
| Returns the part of the expression which is greater than value. | |
| template<typename T> | |
| auto | proxsuite::helpers::positive_part (T const &expr) PROXSUITE_DEDUCE_RET((expr.array() > 0).select(expr |
| Returns the positive part of an expression. | |
| template<typename T> | |
| auto | proxsuite::helpers::negative_part (T const &expr) PROXSUITE_DEDUCE_RET((expr.array()< 0).select(expr |
| Returns the negative part of an expression. | |
| 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. | |
| #define PROXSUITE_DEDUCE_RET | ( | ... | ) |
Definition at line 27 of file common.hpp.