diff options
Diffstat (limited to 'lib/measurement.h')
-rw-r--r-- | lib/measurement.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/measurement.h b/lib/measurement.h deleted file mode 100644 index 78fa51b..0000000 --- a/lib/measurement.h +++ /dev/null @@ -1,45 +0,0 @@ - -#pragma once - -#include <math.h> -#include <stdlib.h> - -#include "types.h" -#include "stack.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct { - uint64_t n; - double x; - double x2; - double m2; - double m4; -} meas_t; - -typedef struct { - uint64_t n; - uint64_t W; - double *OO; - dll_t *Op; - double O; - double O2; -} autocorr_t; - -void meas_update(meas_t *m, double x); - -double meas_dx(const meas_t *m); - -double meas_c(const meas_t *m); - -double meas_dc(const meas_t *m); - -void update_autocorr(autocorr_t *OO, double O); - -double rho(const autocorr_t *o, uint64_t i); - -#ifdef __cplusplus -} -#endif |