diff options
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); |