aboutsummaryrefslogtreecommitdiff
path: root/src/misc.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-08-31 10:05:03 -0500
committertlatorre <tlatorre@uchicago.edu>2018-08-31 10:05:03 -0500
commit37510bc23ab8ba5266998c15fb48c869ef7ca796 (patch)
tree0b36a60184ef5bebaafeabbdd429cc748be28fca /src/misc.h
parent56e663aa644c5a7c5ca620c3f688cdd7fbefdc7d (diff)
downloadsddm-37510bc23ab8ba5266998c15fb48c869ef7ca796.tar.gz
sddm-37510bc23ab8ba5266998c15fb48c869ef7ca796.tar.bz2
sddm-37510bc23ab8ba5266998c15fb48c869ef7ca796.zip
rotate and translate the path in path_init to speed things up
Diffstat (limited to 'src/misc.h')
-rw-r--r--src/misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc.h b/src/misc.h
index bd114aa..295e59c 100644
--- a/src/misc.h
+++ b/src/misc.h
@@ -3,6 +3,8 @@
#include <stdlib.h> /* for size_t */
+int isclose(double a, double b, double rel_tol, double abs_tol);
+int allclose(double *a, double *b, size_t n, double rel_tol, double abs_tol);
double logsumexp(double *a, size_t n);
double norm(double x, double mu, double sigma);
double norm_cdf(double x, double mu, double sigma);