28 #ifndef __TERRALIB_SA_INTERNAL_STATISTICSFUNCTIONS_H
29 #define __TERRALIB_SA_INTERNAL_STATISTICSFUNCTIONS_H
32 #include "../Config.h"
43 class GeneralizedProximityMatrix;
This file contains a functions used by the kernel operation.
This class defines a Generalized Proximity Matrix.
TESAEXPORT double SecondMoment(te::sa::GeneralizedProximityMatrix *gpm, int attrIdx, double mean)
Function used to calculate variance (second moment) of a specific attribute from a gpm.
TESAEXPORT double FirstMoment(te::sa::GeneralizedProximityMatrix *gpm, int attrIdx)
Function used to calculate mean (first moment) of a specific attribute from a gpm.
std::map< int, std::pair< te::gm::Geometry *, double > > KernelMap
TESAEXPORT double Sum(te::sa::GeneralizedProximityMatrix *gpm, int attrIdx)
Function used to calculate sum of a specific attribute from a gpm.
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.