6 IdentityFunction::IdentityFunction(
Variable& x,
bool resizable)
11 , _resizable(resizable)
30 throw std::runtime_error(
"[ocra::IdentityFunction::doUpdateInputSizeBegin] Function was set to non-resizable");
40 throw std::runtime_error(
"[ocra::IdentityFunction::changeDiagonal] invalid operation on IdentityFunction");
46 throw std::runtime_error(
"[ocra::IdentityFunction::changeDiagonal] invalid operation on IdentityFunction");
52 throw std::runtime_error(
"[ocra::IdentityFunction::changeDefaultDiagonalValue] invalid operation on IdentityFunction");
58 throw std::runtime_error(
"[ocra::IdentityFunction::changeDefaultbValue] invalid operation on IdentityFunction");
70 void IdentityFunction::buildIdentity()
virtual void doChangeDefaultDiagonalValue(const double v)
Declaration file of the IdentityFunction class.
const VectorXd & getValue() const
virtual void doUpdateInputSizeEnd()
virtual void doChangeA(const MatrixXd &A)
virtual void doChangeDefaultbValue(const double v)
virtual void doChangeDiagonal(const VectorXd &d)
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
virtual void doChangeA(const MatrixXd &A)
This class represents a variable in a mathematical sense.
virtual void doUpdateInputSizeBegin()
#define ocra_assert(ocra_expression)
DiagonalLinearFunction class.
virtual void updateValue() const