Calculates the constraint violations for linear constraints.
More...
#include <linear_constraint.h>
Calculates the constraint violations for linear constraints.
Definition at line 40 of file linear_constraint.h.
towr::LinearEqualityConstraint::LinearEqualityConstraint |
( |
const MatrixXd & |
M, |
|
|
const VectorXd & |
v, |
|
|
const std::string & |
variable_set |
|
) |
| |
Defines the elements of the linear constraint as g = Mx+v = 0.
- Parameters
-
M | The matrix M defining the slope. |
v | The vector v defining the constanct offset. |
variable_set | The name of the variables x. |
Definition at line 35 of file linear_constraint.cc.
virtual towr::LinearEqualityConstraint::~LinearEqualityConstraint |
( |
| ) |
|
|
virtualdefault |
void towr::LinearEqualityConstraint::FillJacobianBlock |
( |
std::string |
var_set, |
|
|
Jacobian & |
jac |
|
) |
| const |
|
finaloverride |
LinearEqualityConstraint::VecBound towr::LinearEqualityConstraint::GetBounds |
( |
| ) |
const |
|
finaloverride |
LinearEqualityConstraint::VectorXd towr::LinearEqualityConstraint::GetValues |
( |
| ) |
const |
|
finaloverride |
MatrixXd towr::LinearEqualityConstraint::M_ |
|
private |
VectorXd towr::LinearEqualityConstraint::v_ |
|
private |
std::string towr::LinearEqualityConstraint::variable_name_ |
|
private |
The documentation for this class was generated from the following files: