- don't add trivial nodes when using new PBQP solver
[libfirm] / matrix.h
1 #ifndef KAPS_MATRIX_H
2 #define KAPS_MATRIX_H
3
4 #include "matrix_t.h"
5
6 pbqp_matrix *pbqp_matrix_alloc(pbqp *pbqp, unsigned rows, unsigned cols);
7
8 /* Copy the given matrix. */
9 pbqp_matrix *pbqp_matrix_copy(pbqp *pbqp, pbqp_matrix *m);
10
11 /* sum += summand */
12 void pbqp_matrix_add(pbqp_matrix *sum, pbqp_matrix *summand);
13
14 void pbqp_matrix_set(pbqp_matrix *mat, unsigned row, unsigned col, num value);
15
16 #endif /* KAPS_MATRIX_H */