diff options
Diffstat (limited to 'common/placer_math.h')
-rw-r--r-- | common/placer_math.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/placer_math.h b/common/placer_math.h index 3782e99f..c197036c 100644 --- a/common/placer_math.h +++ b/common/placer_math.h @@ -30,9 +30,11 @@ struct taucif_system; extern struct taucif_system *taucif_create_system(int rows, int cols, int n_nonzero); -extern void taucif_set_matrix_value(struct taucif_system *sys, int row, int col, double value); +extern void taucif_add_matrix_value(struct taucif_system *sys, int row, int col, double value); -extern void taucif_solve_system(struct taucif_system *sys, double *x, double *rhs); +extern void taucif_finalise_matrix(struct taucif_system *sys); + +extern int taucif_solve_system(struct taucif_system *sys, double *x, double *rhs); extern void taucif_free_system(struct taucif_system *sys); |