![]() |
A modified box linear complementarity problem (MBLCP) data structure.The ModifiedBoxLCP class represent a modified box linear complementarity problem (MBLCP) of the form. More...
#include <ModifiedBoxLCP.h>
Public Member Functions | |
Utility functions | |
size_t | size () const |
Returns the size of the MBLCP. More... | |
void | project (size_t index) |
Projects the unknown at the given index on the solution range. More... | |
real | lbound (size_t index) const |
Returns the lower bound of the unknown at the given index. More... | |
real | ubound (size_t index) const |
Returns the upper bound of the unknown at the given index. More... | |
real | residual (size_t index) const |
Calculates the residual of the unknown at the given index. More... | |
real | residual () const |
Calculates the maximum norm of the residual of the BLCP. More... | |
Public Attributes | |
Member variables | |
CMatMxN | A_ |
The system matrix ![]() | |
VecN | b_ |
The right-hand side vector ![]() | |
VecN | x_ |
The vector of unknowns ![]() | |
VecN | xmin_ |
The lower bound of the MBLCP ![]() | |
VecN | xmax_ |
The upper bound of the MBLCP ![]() | |
VecN | lambdamin_ |
The lower bound of the friction coefficients ![]() | |
VecN | lambdamax_ |
The upper bound of the friction coefficients ![]() | |
VecN | jmin_ |
The lower bound of the index for the vector of unknowns ![]() | |
VecN | jmax_ |
The upper bound of the index for the vector of unknowns ![]() | |
A modified box linear complementarity problem (MBLCP) data structure.
The ModifiedBoxLCP class represent a modified box linear complementarity problem (MBLCP) of the form.
where and
are the lower and upper bound of the BLCP, respectively.
Returns the lower bound of the unknown at the given index.
index | Access index. The index has to be in the range ![]() |
|
inline |
Projects the unknown at the given index on the solution range.
index | Access index. The index has to be in the range ![]() |
Calculates the residual of the unknown at the given index.
index | Access index. The index has to be in the range ![]() |
|
inline |
Calculates the maximum norm of the residual of the BLCP.
|
inline |
Returns the size of the MBLCP.
Returns the upper bound of the unknown at the given index.
index | Access index. The index has to be in the range ![]() |