[GRASS-SVN] r32234 - grass/trunk/include

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 23 17:16:34 EDT 2008


Author: mlennert
Date: 2008-07-23 17:16:34 -0400 (Wed, 23 Jul 2008)
New Revision: 32234

Modified:
   grass/trunk/include/arraystats.h
Log:
added new statistics and new function for chosing algorithm


Modified: grass/trunk/include/arraystats.h
===================================================================
--- grass/trunk/include/arraystats.h	2008-07-23 21:15:58 UTC (rev 32233)
+++ grass/trunk/include/arraystats.h	2008-07-23 21:16:34 UTC (rev 32234)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
+#include <grass/gis.h>
 #include <grass/glocale.h>
 #include <grass/dbmi.h>
 
@@ -11,12 +12,14 @@
     double max;
     double sum;
     double sumsq;
+    double sumabs;
     double mean;
+    double meanabs;
     double var;
     double stdev;
 };
 
-
+double class_apply_algorithm(char *, double *, int, int *, double *);
 int class_interval(double *, int, int, double *);
 int class_quant(double *, int, int, double *);
 double class_discont(double *, int, int, double *);



More information about the grass-commit mailing list