28 #ifndef __TERRALIB_SA_INTERNAL_GEOSTATISTICALFUNCTIONS_H
29 #define __TERRALIB_SA_INTERNAL_GEOSTATISTICALFUNCTIONS_H
32 #include "../Config.h"
38 #include <boost/numeric/ublas/matrix.hpp>
43 namespace da {
class DataSet; }
44 namespace gm {
class Geometry; }
A dataset is the unit of information manipulated by the data access module of TerraLib.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::vector< te::sa::GeostatisticalDataItem * > GeostatisticalData
TESAEXPORT te::sa::GeostatisticalData CreateGeostatisticalData(te::da::DataSet *dataSet, int attrIdx, int geomIdx)
TESAEXPORT boost::numeric::ublas::matrix< double > CreateMatrixFromDataSet(te::da::DataSet *dataSet, int attrIdx, int geomIdx)
Function used to create a matrix with values, distance and angle for each element from dataset.
TESAEXPORT void SetMainDiagonal(boost::numeric::ublas::matrix< double > &matrix, te::da::DataSet *dataSet, int attrIdx)
Function used to set new values in the matrix main diagonal.
TESAEXPORT void CalculateMoments(const boost::numeric::ublas::matrix< double > &matrix, double &mean, double &variance)
Function used to calculate mean and variance from a matrix.
te::gm::Geometry * m_geom
~GeostatisticalDataItem()
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.