From f3d53bac095fd47f7c10f54007ffa11ab0f1ac1f Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 2 Nov 2017 23:00:48 -0400 Subject: added new method for computing autocorrelation --- lib/convex.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/convex.h (limited to 'lib/convex.h') diff --git a/lib/convex.h b/lib/convex.h new file mode 100644 index 0000000..29f4ae0 --- /dev/null +++ b/lib/convex.h @@ -0,0 +1,21 @@ + +#pragma once + +#include +#include +#include +#include + +typedef struct { + uint64_t x; + double y; +} point_t; + +typedef struct list_tag { + struct list_tag *prev; + struct list_tag *next; + point_t *p; +} list_t; + +double *get_convex_minorant(uint64_t n, double *Gammas); + -- cgit v1.2.3-70-g09d2