aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/rational.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-02-28 10:53:43 +0100
committerThomas White <taw@physics.org>2019-03-11 16:49:37 +0100
commit3e850c6c2ed2a3dbc0fe0be27d36c0d1e6b57614 (patch)
treed5b9f2c02a9b71ac909bde1579d764441fdc79f0 /libcrystfel/src/rational.h
parent2dad9da2661389cf5c34a49e933dab20bd6d943c (diff)
New way of doing cell comparisons, similar to match_cell()
Diffstat (limited to 'libcrystfel/src/rational.h')
-rw-r--r--libcrystfel/src/rational.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/rational.h b/libcrystfel/src/rational.h
index 925f9be1..7983f56f 100644
--- a/libcrystfel/src/rational.h
+++ b/libcrystfel/src/rational.h
@@ -77,6 +77,10 @@ extern Rational rtnl_abs(Rational a);
extern char *rtnl_format(Rational rt);
+extern Rational *rtnl_list(signed int num_min, signed int num_max,
+ signed int den_min, signed int den_max,
+ int *pn);
+
extern RationalMatrix *rtnl_mtx_new(unsigned int rows, unsigned int cols);
extern RationalMatrix *rtnl_mtx_copy(const RationalMatrix *m);
extern Rational rtnl_mtx_get(const RationalMatrix *m, int i, int j);