35 #ifndef _BLAZE_MATH_PROBLEMS_MODIFIEDBOXLCP_H_
36 #define _BLAZE_MATH_PROBLEMS_MODIFIEDBOXLCP_H_
77 inline size_t size ()
const;
78 inline void project (
size_t index );
172 return max(
x_[index] -
ubound( index ),
173 min(
x_[index] -
lbound( index ), (
A_ *
x_ )[index] +
b_[index] ) );
187 for(
size_t i=0; i<
size(); ++i )
Header file for mathematical functions.
VecN lambdamin_
The lower bound of the friction coefficients .
Definition: ModifiedBoxLCP.h:94
VecN x_
The vector of unknowns .
Definition: ModifiedBoxLCP.h:91
CMatMxN A_
The system matrix .
Definition: ModifiedBoxLCP.h:89
const StaticMatrix< Type, 3UL, 3UL, false > fabs(const RotationMatrix< Type > &m)
Returns a matrix containing the absolute values of each single element of m.
Definition: RotationMatrix.h:1102
real ubound(size_t index) const
Returns the upper bound of the unknown at the given index.
Definition: ModifiedBoxLCP.h:156
Header file for the floating point precision of the Blaze library.
VecN lambdamax_
The upper bound of the friction coefficients .
Definition: ModifiedBoxLCP.h:95
VecN xmin_
The lower bound of the MBLCP .
Definition: ModifiedBoxLCP.h:92
real residual() const
Calculates the maximum norm of the residual of the BLCP.
Definition: ModifiedBoxLCP.h:183
size_t size() const
Returns the current size/dimension of the vector.
Definition: DynamicVector.h:1050
VecN jmax_
The upper bound of the index for the vector of unknowns .
Definition: ModifiedBoxLCP.h:97
real lbound(size_t index) const
Returns the lower bound of the unknown at the given index.
Definition: ModifiedBoxLCP.h:143
A modified box linear complementarity problem (MBLCP) data structure.The ModifiedBoxLCP class represe...
Definition: ModifiedBoxLCP.h:72
Header file for the complete DynamicVector implementation.
void project(size_t index)
Projects the unknown at the given index on the solution range.
Definition: ModifiedBoxLCP.h:130
size_t size() const
Returns the size of the MBLCP.
Definition: ModifiedBoxLCP.h:117
VecN xmax_
The upper bound of the MBLCP .
Definition: ModifiedBoxLCP.h:93
double real
Floating point data type of the Blaze library.This type definition offers the possibility to switch t...
Definition: Precision.h:47
Header file for the complete CompressedMatrix implementation.
VecN jmin_
The lower bound of the index for the vector of unknowns .
Definition: ModifiedBoxLCP.h:96
VecN b_
The right-hand side vector .
Definition: ModifiedBoxLCP.h:90
Header file for basic type definitions.