17 #ifndef MATRIX_TYPES_H 18 #define MATRIX_TYPES_H 115 (t)? m_storage |=
DENSE 116 : m_storage &= ~
DENSE;
Storage
How the matrix is stored.
MatrixType & setSymmetric(bool t=true)
MatrixType & setGeneric(bool t=true)
bool isLowerTriangle() const
MatrixType(int type, int storage)
Saddle point matrices, which may be symmetric or not, and positive definite or not.
bool isUpperTriangle() const
MatrixType & setPositiveDefinite(bool t=true)
MatrixType & setSaddlePoint(bool t=true)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
MatrixType & setLowerTriangle(bool t=true)
MatrixType & setSparse(bool t=true)
Positive definite matrices.
MatrixType & setUpperTriangle(bool t=true)
MatrixType & setSquare(bool t=true)
Only upper triangle is stored, dense or sparse.
Only lower triangle is stored, dense or sparse.
A class to distinguish between various types of matrices, both in terms of storage properties...
MatrixType & setDense(bool t=true)
Type
The kind of matrix we are dealing with.
bool isSaddlePoint() const
bool isPositiveDefinite() const
The entire matrix is stored, or it is sparse.