Implementation of inequality. More...
#include <hpp/core/comparison-type.hh>
Public Member Functions | |
virtual bool | operator() (vectorOut_t value, matrixOut_t jacobian) const |
Return the result of the comparison. | |
virtual bool | operator() (vectorOut_t value) const |
Return the result of the comparison. | |
void | threshold (const value_type &t) |
Static Public Member Functions | |
static ComparisonTypePtr_t | create (const value_type &threshold=1e-3) |
Protected Member Functions | |
Inequality (const value_type &threshold) |
Implementation of inequality.
if T is ComparisonType::Inferior
if T is ComparisonType::Superior
hpp::core::Inequality< T >::Inequality | ( | const value_type & | threshold | ) | [protected] |
static ComparisonTypePtr_t hpp::core::Inequality< T >::create | ( | const value_type & | threshold = 1e-3 | ) | [static] |
virtual bool hpp::core::Inequality< T >::operator() | ( | vectorOut_t | value, |
matrixOut_t | jacobian | ||
) | const [virtual] |
Return the result of the comparison.
[in,out] | value | the value that will be compared and saturated. |
[in,out] | jacobian | the jacobian to be saturated depending on the value. |
Implements hpp::core::ComparisonType.
virtual bool hpp::core::Inequality< T >::operator() | ( | vectorOut_t | value | ) | const [virtual] |
Return the result of the comparison.
[in,out] | value | the value that will be compared and saturated. |
Implements hpp::core::ComparisonType.
void hpp::core::Inequality< T >::threshold | ( | const value_type & | t | ) |