diff options
author | Thomas White <taw@physics.org> | 2019-08-28 13:29:48 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-08-28 13:29:48 +0200 |
commit | da1de864442781c2bb993fc15a5c9dca18940e38 (patch) | |
tree | 3f6845529ad5000c516d25853fd28979d9d08af9 /libcrystfel/src/rational.h | |
parent | 71e7acb7668073b8f37565aa59bfd67d3b4cd166 (diff) |
Avoid converting IntegerMatrix to RationalMatrix
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 8681bb06..012b929e 100644 --- a/libcrystfel/src/rational.h +++ b/libcrystfel/src/rational.h @@ -92,6 +92,8 @@ extern IntegerMatrix *intmat_from_rtnl_mtx(const RationalMatrix *m); extern void rtnl_mtx_free(RationalMatrix *mtx); extern void rtnl_mtx_mtxmult(const RationalMatrix *A, const RationalMatrix *B, RationalMatrix *ans); +extern void rtnl_mtx_intmatmult(const RationalMatrix *A, const IntegerMatrix *B, + RationalMatrix *ans); extern int transform_fractional_coords_rtnl(const RationalMatrix *P, const Rational *ivec, Rational *ans); |