With the same notation as in Equation, this class represents equation: More...
#include <hpp/core/numerical-constraint.hh>
Public Member Functions | |
virtual EquationPtr_t | copy () const |
Copy object and return shared pointer to copy. More... | |
virtual | ~NumericalConstraint () |
void | rightHandSideFromConfig (ConfigurationIn_t config) |
DifferentiableFunction & | function () const |
Return a reference to the inner function. More... | |
const DifferentiableFunctionPtr_t & | functionPtr () const |
Return a reference to the inner function. More... | |
vector_t & | value () |
Return a reference to the value. More... | |
matrix_t & | jacobian () |
Return a reference to the jacobian. More... | |
![]() | |
bool | operator== (const Equation &other) const |
Operator equality. More... | |
void | rightHandSide (vectorIn_t rhs) |
Set the right hand side of the equation. More... | |
vectorIn_t | rightHandSide () const |
Return the right hand side of the equation. More... | |
size_type | rhsSize () const |
Return the size of the right hand side constraint. More... | |
const ComparisonTypes_t & | comparisonType () const |
Return the ComparisonType. More... | |
void | comparisonType (const ComparisonTypes_t &comp) |
Set the comparison type. More... | |
bool | constantRightHandSide () const |
vectorOut_t | nonConstRightHandSide () |
Return the right hand side of the equation. More... | |
virtual | ~Equation () |
Static Public Member Functions | |
static NumericalConstraintPtr_t | create (const DifferentiableFunctionPtr_t &function) |
Create a shared pointer to a new instance. More... | |
static NumericalConstraintPtr_t | create (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp) |
Create a shared pointer to a new instance. More... | |
static NumericalConstraintPtr_t | create (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp, vectorIn_t rhs) |
Create a shared pointer to a new instance. More... | |
static NumericalConstraintPtr_t | createCopy (const NumericalConstraintPtr_t &other) |
Create a copy and return shared pointer. More... | |
Protected Member Functions | |
NumericalConstraint (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp) | |
Constructor. More... | |
NumericalConstraint (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp, vectorIn_t rhs) | |
Constructor. More... | |
NumericalConstraint (const NumericalConstraint &other) | |
Copy constructor. More... | |
virtual bool | isEqual (const Equation &other, bool swapAndTest) const |
Test equality with other instance. More... | |
void | init (const NumericalConstraintWkPtr_t &weak) |
![]() | |
Equation (const ComparisonTypes_t &comp, vectorIn_t rhs) | |
Equation (const Equation &other) | |
void | init (const EquationWkPtr_t &weak) |
With the same notation as in Equation, this class represents equation:
|
inlinevirtual |
|
protected |
Constructor.
function | the differentiable function |
|
protected |
Constructor.
function | the differentiable function |
rhs | the right hand side of this equation |
|
protected |
Copy constructor.
|
virtual |
Copy object and return shared pointer to copy.
Implements hpp::core::Equation.
Reimplemented in hpp::core::ExplicitNumericalConstraint, and hpp::core::LockedJoint.
|
static |
Create a shared pointer to a new instance.
|
static |
Create a shared pointer to a new instance.
|
static |
Create a shared pointer to a new instance.
|
static |
Create a copy and return shared pointer.
|
inline |
Return a reference to the inner function.
|
inline |
Return a reference to the inner function.
|
inlineprotected |
References hpp::core::Equation::init().
Referenced by hpp::core::ExplicitNumericalConstraint::init().
|
protectedvirtual |
Test equality with other instance.
other | object to copy |
swapAndTest | whether we should also check other == this |
Reimplemented from hpp::core::Equation.
Reimplemented in hpp::core::LockedJoint.
|
inline |
Return a reference to the jacobian.
This matrix can be used to store the derivative of the function, its size being initialized.
|
virtual |
Implements hpp::core::Equation.
|
inline |
Return a reference to the value.
This vector can be used to store the output of the function, its size being initialized.