diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2009-01-02 17:18:42 +0100 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2009-01-06 19:10:50 +0100 |
commit | 0a6ff650419d1b66f417356c2f8aeb6e7a7e7c80 (patch) | |
tree | 106570baecb3d1c2a33ee9911e931e27b1eda16d /isl_mat.c | |
parent | 2c1923a56d26585cc7a1810c8b98973e33e266a0 (diff) | |
download | isl-0a6ff650419d1b66f417356c2f8aeb6e7a7e7c80.tar.gz isl-0a6ff650419d1b66f417356c2f8aeb6e7a7e7c80.tar.bz2 isl-0a6ff650419d1b66f417356c2f8aeb6e7a7e7c80.zip |
add isl_mat_col_submul
Diffstat (limited to 'isl_mat.c')
-rw-r--r-- | isl_mat.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -835,3 +835,12 @@ struct isl_mat *isl_mat_drop_rows(struct isl_ctx *ctx, struct isl_mat *mat, mat->n_row -= n; return mat; } + +void isl_mat_col_submul(struct isl_mat *mat, + int dst_col, isl_int f, int src_col) +{ + int i; + + for (i = 0; i < mat->n_row; ++i) + isl_int_submul(mat->row[i][dst_col], f, mat->row[i][src_col]); +} |