diff options
author | Thomas White <taw@physics.org> | 2019-08-08 14:21:41 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-08-16 10:26:59 +0200 |
commit | 0ee4e84678765760059dd1708439404709e70296 (patch) | |
tree | 5740f8cc1bce45b0e4265f3281c93aad18283e5a /libcrystfel/src/rational.h | |
parent | df354511a0f4a923827e45edcafcb51343d10ea8 (diff) |
Add rtnl_mtx_is_identity() and rtnl_mtx_is_perm()
Diffstat (limited to 'libcrystfel/src/rational.h')
-rw-r--r-- | libcrystfel/src/rational.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |