aboutsummaryrefslogtreecommitdiff
path: root/src/statistics.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-12 10:06:47 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:53 +0100
commit6264ff6e0ac13fcc22afcb4ce9f98a920444a92c (patch)
tree4a8d7fd48fbb1b64815da59faf29e921a73d7542 /src/statistics.h
parentf672ed3da7d82b5519b1b5aa77c82e16cc11e0a5 (diff)
compare_hkl: Add Pearson correlation
Diffstat (limited to 'src/statistics.h')
-rw-r--r--src/statistics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/statistics.h b/src/statistics.h
index e19d4b29..5e3ca52c 100644
--- a/src/statistics.h
+++ b/src/statistics.h
@@ -27,4 +27,7 @@ extern double stat_rmerge(const double *ref1, const unsigned int *c1,
const double *ref2, const unsigned int *c2,
double *scalep);
+extern double stat_pearson(const double *ref1, const unsigned int *c1,
+ const double *ref2, const unsigned int *c2);
+
#endif /* STATISTICS_H */