aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integer_matrix.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-10-17 17:19:55 +0200
committerThomas White <taw@physics.org>2014-10-23 17:02:32 +0200
commitb65ff35322544fcb0ad7494987145e9c8aa75d5c (patch)
tree4aeb84c15786f746f0abe82338c60956f73f92b0 /libcrystfel/src/integer_matrix.h
parentcb08ffbe0adeed6502db70f3380059800464726d (diff)
Add intmat_identity()
Diffstat (limited to 'libcrystfel/src/integer_matrix.h')
-rw-r--r--libcrystfel/src/integer_matrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/integer_matrix.h b/libcrystfel/src/integer_matrix.h
index e1ba2c56..6616b5e8 100644
--- a/libcrystfel/src/integer_matrix.h
+++ b/libcrystfel/src/integer_matrix.h
@@ -47,6 +47,7 @@ extern "C" {
/* Alloc/dealloc */
extern IntegerMatrix *intmat_new(unsigned int rows, unsigned int cols);
extern IntegerMatrix *intmat_copy(IntegerMatrix *m);
+extern IntegerMatrix *intmat_identity(int size);
extern void intmat_free(IntegerMatrix *m);
/* Get/set */