GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-bea8435a9e
arraystats.h
Go to the documentation of this file.
1 #ifndef GRASS_ARRAYSTATS_H
2 #define GRASS_ARRAYSTATS_H
3 
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <math.h>
7 #include <grass/gis.h>
8 #include <grass/glocale.h>
9 #include <grass/dbmi.h>
10 
11 struct GASTATS {
12  double count;
13  double min;
14  double max;
15  double sum;
16  double sumsq;
17  double sumabs;
18  double mean;
19  double meanabs;
20  double var;
21  double stdev;
22 };
23 
24 #define CLASS_INTERVAL 1
25 #define CLASS_STDEV 2
26 #define CLASS_QUANT 3
27 #define CLASS_EQUIPROB 4
28 #define CLASS_DISCONT 5
29 
30 #include <grass/defs/arraystats.h>
31 
32 #endif
double sum
Definition: arraystats.h:15
double mean
Definition: arraystats.h:18
double sumabs
Definition: arraystats.h:17
double max
Definition: arraystats.h:14
double meanabs
Definition: arraystats.h:19
double stdev
Definition: arraystats.h:21
double var
Definition: arraystats.h:20
double min
Definition: arraystats.h:13
double count
Definition: arraystats.h:12
double sumsq
Definition: arraystats.h:16