|
template<typename T > |
T | SoftOverMax (const std::vector< T > &x, double alpha=1.0) |
| Computes a smooth over approximation of max function, namely SoftOverMax(x) >= max(x). More...
|
|
template<typename T > |
T | SoftUnderMax (const std::vector< T > &x, double alpha=1.0) |
| Computes a smooth under approximation of max function, namely SoftUnderMax(x) <= max(x). More...
|
|
template<typename T > |
T | SoftOverMin (const std::vector< T > &x, double alpha=1.0) |
| Computes a smooth over approximation of min function, namely SoftOverMin(x) >= min(x). More...
|
|
template<typename T > |
T | SoftUnderMin (const std::vector< T > &x, double alpha=1.0) |
| Computes a smooth under approximation of min function, namely SoftUnderMin(x) <= min(x). More...
|
|