Simbody
3.3
|
This class collects masks of each characteristic type for representing sets of accceptable characteristics. More...
#include <MatrixCharacteristics.h>
Public Types | |
typedef unsigned int | SizeMask |
Public Member Functions | |
Mask () | |
bool | isResizeable () const |
bool | isFullyResizeable () const |
bool | isNumRowsLocked () const |
bool | isNumColsLocked () const |
unsigned int | getNumRowsMask () const |
unsigned int | getNumColsMask () const |
unsigned int | getLowerBandwidthMask () const |
unsigned int | getUpperBandwidthMask () const |
int | getDefaultNumRows () const |
int | getDefaultNumCols () const |
bool | isLowerBandwidthLocked () const |
bool | isUpperBandwidthLocked () const |
int | getDefaultLowerBandwidth () const |
int | getDefaultUpperBandwidth () const |
Mask & | setToUncommitted () |
Set all bits to one ("Uncommitted"). More... | |
bool | isUncommitted () const |
Return if all fields are set to "Uncommitted" (all bits are one). More... | |
bool | isSatisfiedBy (const MatrixCharacter &actual) const |
Check whether an actual matrix character satisfies this matrix commitment. More... | |
bool | isSizeOK (int m, int n) const |
Check whether an actual size satisfies the size commitment. More... | |
bool | isBandwidthOK (int lower, int upper) const |
Check whether an actual bandwidth satisfies the bandwidth commitment. More... | |
Public Attributes | |
SizeMask | nr |
number of rows More... | |
SizeMask | nc |
number of columns More... | |
SizeMask | lband |
lower bandwidth, if banded More... | |
SizeMask | uband |
upper bandwidth, if banded More... | |
MatrixStructure::Mask | structure |
MatrixStorage::Mask | storage |
MatrixOutline::Mask | outline |
MatrixCondition::Mask | condition |
Static Public Attributes | |
static const SizeMask | SizeUncommitted = 0xffffffffU |
Friends | |
class | MatrixCommitment |
This class collects masks of each characteristic type for representing sets of accceptable characteristics.
typedef unsigned int SimTK::MatrixCharacter::Mask::SizeMask |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set all bits to one ("Uncommitted").
|
inline |
Return if all fields are set to "Uncommitted" (all bits are one).
|
inline |
Check whether an actual matrix character satisfies this matrix commitment.
|
inline |
Check whether an actual size satisfies the size commitment.
|
inline |
Check whether an actual bandwidth satisfies the bandwidth commitment.
(If the matrix isn't banded any bandwidth will be OK.)
|
friend |
|
static |
SizeMask SimTK::MatrixCharacter::Mask::nr |
number of rows
SizeMask SimTK::MatrixCharacter::Mask::nc |
number of columns
SizeMask SimTK::MatrixCharacter::Mask::lband |
lower bandwidth, if banded
SizeMask SimTK::MatrixCharacter::Mask::uband |
upper bandwidth, if banded
MatrixStructure::Mask SimTK::MatrixCharacter::Mask::structure |
MatrixStorage::Mask SimTK::MatrixCharacter::Mask::storage |
MatrixOutline::Mask SimTK::MatrixCharacter::Mask::outline |
MatrixCondition::Mask SimTK::MatrixCharacter::Mask::condition |