CMR
1.3.0
|
Functionality for the row and column elements of a matrix. More...
Go to the source code of this file.
Typedefs | |
typedef int | CMR_ELEMENT |
Functions | |
CMR_EXPORT const char * | CMRelementString (CMR_ELEMENT element, char *buffer) |
static bool | CMRelementIsValid (CMR_ELEMENT element) |
Returns true if element is a row or a column element. More... | |
static CMR_ELEMENT | CMRrowToElement (size_t row) |
static CMR_ELEMENT | CMRcolumnToElement (size_t column) |
static bool | CMRelementIsRow (CMR_ELEMENT element) |
static size_t | CMRelementToRowIndex (CMR_ELEMENT element) |
static bool | CMRelementIsColumn (CMR_ELEMENT element) |
static size_t | CMRelementToColumnIndex (CMR_ELEMENT element) |
static CMR_ELEMENT | CMRelementTranspose (CMR_ELEMENT element) |
Transposes element , i.e., turns rows into columns and vice versa. More... | |
Functionality for the row and column elements of a matrix.
typedef int CMR_ELEMENT |
|
inlinestatic |
column | Column index. |
|
inlinestatic |
element | Element to check. |
|
inlinestatic |
element | Element to check. |
|
inlinestatic |
Returns true
if element
is a row or a column element.
element | Element to check for validity. |
CMR_EXPORT const char* CMRelementString | ( | CMR_ELEMENT | element, |
char * | buffer | ||
) |
element | Element to print. |
buffer | Buffer of size at least 32. May be NULL , in which case a static buffer is used. |
|
inlinestatic |
element | Element to convert. |
|
inlinestatic |
element | Element to convert. |
|
inlinestatic |
Transposes element
, i.e., turns rows into columns and vice versa.
element | Element to transpose. |
|
inlinestatic |
row | Row index. |