From 0ee4e84678765760059dd1708439404709e70296 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 8 Aug 2019 14:21:41 +0200 Subject: Add rtnl_mtx_is_identity() and rtnl_mtx_is_perm() --- libcrystfel/src/rational.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcrystfel/src/rational.h') diff --git a/libcrystfel/src/rational.h b/libcrystfel/src/rational.h index e67c603a..8681bb06 100644 --- a/libcrystfel/src/rational.h +++ b/libcrystfel/src/rational.h @@ -100,6 +100,8 @@ extern void transform_fractional_coords_rtnl_inverse(const RationalMatrix *P, Rational *ans); extern void rtnl_mtx_print(const RationalMatrix *m); extern Rational rtnl_mtx_det(const RationalMatrix *m); +extern int rtnl_mtx_is_identity(const RationalMatrix *m); +extern int rtnl_mtx_is_perm(const RationalMatrix *m); #ifdef __cplusplus } -- cgit v1.2.3