aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integer_matrix.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-10-15 18:51:37 +0200
committerThomas White <taw@physics.org>2012-10-15 18:51:37 +0200
commit4548f166eeb7d29f28793b39ede58cafaa2b64f8 (patch)
treedc251db80f0d1c40a1a4bbdda2c7c9c582e8670f /libcrystfel/src/integer_matrix.h
parenta9212e954c49c0c8e0227bf5309177b3aadbb8e1 (diff)
Add intmat_is_identity()
Diffstat (limited to 'libcrystfel/src/integer_matrix.h')
-rw-r--r--libcrystfel/src/integer_matrix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/integer_matrix.h b/libcrystfel/src/integer_matrix.h
index 1c930720..f413573a 100644
--- a/libcrystfel/src/integer_matrix.h
+++ b/libcrystfel/src/integer_matrix.h
@@ -65,6 +65,9 @@ extern IntegerMatrix *intmat_inverse(const IntegerMatrix *m);
/* Determinant */
extern signed int intmat_det(const IntegerMatrix *m);
+/* Is identity? */
+extern int intmat_is_identity(const IntegerMatrix *m);
+
/* Diagnostics */
extern void intmat_print(const IntegerMatrix *m);