diff options
author | Thomas White <taw@physics.org> | 2012-10-19 10:55:40 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-10-19 10:55:40 -0700 |
commit | 673dae374edf54c04d41f44e0f95041d5cf1cc7a (patch) | |
tree | 11164757434366667cd216d065d2f1f010651042 /libcrystfel/src/integer_matrix.h | |
parent | ec5b87bcfc83b3f2a38202ce26184c35adf870f7 (diff) |
Convert SymOpList to use IntegerMatrix
This simplifies things a lot
Diffstat (limited to 'libcrystfel/src/integer_matrix.h')
-rw-r--r-- | libcrystfel/src/integer_matrix.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/integer_matrix.h b/libcrystfel/src/integer_matrix.h index f413573a..2573bfec 100644 --- a/libcrystfel/src/integer_matrix.h +++ b/libcrystfel/src/integer_matrix.h @@ -43,6 +43,7 @@ typedef struct _integermatrix IntegerMatrix; /* Alloc/dealloc */ extern IntegerMatrix *intmat_new(unsigned int rows, unsigned int cols); +extern IntegerMatrix *intmat_copy(IntegerMatrix *m); extern void intmat_free(IntegerMatrix *m); /* Get/set */ @@ -68,6 +69,12 @@ extern signed int intmat_det(const IntegerMatrix *m); /* Is identity? */ extern int intmat_is_identity(const IntegerMatrix *m); +/* Is inversion? */ +extern int intmat_is_inversion(const IntegerMatrix *m); + +/* Comparison */ +extern int intmat_equals(const IntegerMatrix *a, const IntegerMatrix *b); + /* Diagnostics */ extern void intmat_print(const IntegerMatrix *m); |