1 #ifndef CMR_ONESUM_INTERNAL_H
2 #define CMR_ONESUM_INTERNAL_H
35 size_t* pnumComponents,
37 size_t* rowsToComponents,
38 size_t* columnsToComponents,
39 size_t* rowsToComponentRows,
40 size_t* columnsToComponentColumns
Basic functionality of the software library.
CMR_ERROR
Type for return codes of library functions.
Definition: env.h:31
CMR_ERROR decomposeOneSum(CMR *cmr, CMR_MATRIX *matrix, size_t matrixType, size_t targetType, size_t *pnumComponents, CMR_ONESUM_COMPONENT **components, size_t *rowsToComponents, size_t *columnsToComponents, size_t *rowsToComponentRows, size_t *columnsToComponentColumns)
Decomposes int matrix into 1-connected submatrices.
Definition: one_sum.c:21
Definition: env_internal.h:45
Abstract struct for row-wise representations of sparse matrices.
Definition: matrix_internal.h:15
Information on component of 1-sum of matrices.
Definition: one_sum.h:16
size_t * rowsToOriginal
Maps component rows to original matrix rows.
Definition: one_sum.h:19
CMR_MATRIX * matrix
Sparse matrix.
Definition: one_sum.h:17
size_t * columnsToOriginal
Maps component columns to original matrix columns.
Definition: one_sum.h:20
CMR_MATRIX * transpose
Sparse transposed matrix.
Definition: one_sum.h:18