sstat 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ext/lib/type_def.h DELETED
@@ -1,35 +0,0 @@
1
- #ifndef _SSTAT_TYPE_DEF_H_
2
- #define _SSTAT_TYPE_DEF_H_
3
-
4
- //EPSILON here is set based on ruby float. we need to chagne it for other project
5
- #define EPSILON 2.2204460492503131e-16
6
-
7
- //The following constants are from ATMEL http://www.atmel.com/webdoc/
8
- #define M_2_SQRTPI 1.12837916709551257390
9
- #define M_SQRT1_2 0.70710678118654752440
10
- #define M_1_SQRT2PI (M_2_SQRTPI * M_SQRT1_2 / 2.0)
11
- #define M_SQRT2 1.41421356237309504880
12
- #define SQRT32 (4.0 * M_SQRT2)
13
-
14
- //GSL constants for gaussian distribution
15
- #define GAUSS_XUPPER (8.572)
16
- #define GAUSS_XLOWER (-37)
17
- #define GAUSS_SCALE (16.0)
18
- #define GAUSS_EPSILON 1e-12
19
-
20
- typedef struct point{
21
- double x;
22
- double y;
23
- } point;
24
-
25
- typedef struct curve{
26
- struct point* point_array;
27
- int size;
28
- } curve;
29
-
30
- typedef struct array{
31
- double* D_ptr;
32
- int size;
33
- } array;
34
-
35
- #endif
@@ -1,4 +0,0 @@
1
- median_test.c: In function ‘main’:
2
- median_test.c:7:9: warning: unused variable ‘proc’ [-Wunused-variable]
3
- int proc = median(data, 14, &m);
4
- ^