CMR
1.3.0
|
#include <cmr/matrix.h>
Go to the source code of this file.
Classes | |
struct | CMR_MATRIX |
Abstract struct for row-wise representations of sparse matrices. More... | |
Functions | |
CMR_ERROR | CMRsortSubmatrix (CMR *cmr, CMR_SUBMAT *submatrix) |
Sorts the row and column indices of submatrix . More... | |
CMR_ERROR | CMRchrmatFilter (CMR *cmr, CMR_CHRMAT *matrix, size_t numRows, size_t *rows, size_t numColumns, size_t *columns, CMR_CHRMAT **presult) |
Creates a numRows \( \times \) numColumns submatrix of the char matrix indexed by rows and columns . More... | |
CMR_ERROR CMRchrmatFilter | ( | CMR * | cmr, |
CMR_CHRMAT * | matrix, | ||
size_t | numRows, | ||
size_t * | rows, | ||
size_t | numColumns, | ||
size_t * | columns, | ||
CMR_CHRMAT ** | presult | ||
) |
Creates a numRows
\( \times \) numColumns
submatrix of the char matrix
indexed by rows
and columns
.
cmr | CMR environment. |
matrix | Matrix. |
numRows | Number of rows of submatrix. |
rows | Rows of matrix to be copied into the submatrix. |
numColumns | Number of columns of submatrix. |
columns | Columns of matrix to be copied into the submatrix. |
presult | Pointer for storing the created submatrix. |
CMR_ERROR CMRsortSubmatrix | ( | CMR * | cmr, |
CMR_SUBMAT * | submatrix | ||
) |
Sorts the row and column indices of submatrix
.
cmr | CMR environment. |
submatrix | The submatrix. |