1 #ifndef CMR_BLOCK_DECOMPOSITION_H
2 #define CMR_BLOCK_DECOMPOSITION_H
38 size_t* columnsToBlock,
39 size_t* rowsToBlockRows,
40 size_t* columnsToBlockColumns
CMR_ERROR CMRdecomposeBlocks(CMR *cmr, CMR_MATRIX *matrix, size_t matrixType, size_t targetType, size_t *pnumBlocks, CMR_BLOCK **pblocks, size_t *rowsToBlock, size_t *columnsToBlock, size_t *rowsToBlockRows, size_t *columnsToBlockColumns)
Decomposes int matrix into 1-connected submatrices.
Definition: block_decomposition.c:21
Basic functionality of the software library.
CMR_ERROR
Type for return codes of library functions.
Definition: env.h:32
Information on one block of a block decomposition of a matrix.
Definition: block_decomposition.h:16
size_t * columnsToOriginal
Maps component columns to original matrix columns.
Definition: block_decomposition.h:20
size_t * rowsToOriginal
Maps component rows to original matrix rows.
Definition: block_decomposition.h:19
CMR_MATRIX * matrix
Sparse matrix.
Definition: block_decomposition.h:17
CMR_MATRIX * transpose
Sparse transposed matrix.
Definition: block_decomposition.h:18
Definition: env_internal.h:45
Abstract struct for row-wise representations of sparse matrices.
Definition: matrix_internal.h:15