35 #ifndef _BLAZE_MATH_PROBLEMS_CONTACTLCP_H_
36 #define _BLAZE_MATH_PROBLEMS_CONTACTLCP_H_
71 inline size_t size ()
const;
72 inline void project (
size_t index );
134 return ( index%3 != 0 ) ? ( -
cof_[index/3] *
x_[index - index%3] ) : (
real(0) );
147 return ( index%3 != 0 ) ? (
cof_[index/3] *
x_[index - index%3] ) : (
inf );
160 return max(
x_[index] -
ubound( index ),
161 min(
x_[index] -
lbound( index ), (
A_ *
x_ )[index] +
b_[index] ) );
175 for(
size_t i=0; i<
A_.
rows(); ++i )
size_t rows() const
Returns the current number of rows of the sparse matrix.
Definition: CompressedMatrix.h:1109
Header file for mathematical functions.
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
Header file for the floating point precision of the Blaze library.
Numerical infinity for built-in data types.
size_t size() const
Returns the current size/dimension of the vector.
Definition: DynamicVector.h:1050
Header file for the complete DynamicVector implementation.
const Infinity inf
Global Infinity instance.The blaze::inf instance can be used wherever a built-in data type is expecte...
Definition: Infinity.h:1098
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.
Header file for basic type definitions.