Loading...
Searching...
No Matches
GeostatisticalModelSpherical.h
Go to the documentation of this file.
1/* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2
3 This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5 TerraLib is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9
10 TerraLib is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with TerraLib. See COPYING. If not, write to
17 TerraLib Team at <terralib-team@terralib.org>.
18 */
19
20/*!
21 \file terralib/sa/core/GeostatisticalModelSpherical.h
22
23 \brief This file contains a class that represents the geostatistical spherical model.
24
25 \reference Adapted from TerraLib4.
26*/
27
28#ifndef __TERRALIB_SA_INTERNAL_GEOSTATISTICALMODELSPHERICAL_H
29#define __TERRALIB_SA_INTERNAL_GEOSTATISTICALMODELSPHERICAL_H
30
31// Terralib Includes
32#include "GeostatisticalModel.h"
33
34namespace te
35{
36 namespace sa
37 {
38 /*!
39 \class GeostatisticalModelSpherical
40
41 \brief Class that represents the geostatistical spherical model.
42
43 gamma(h)=(s-n)\left(1-\exp\left(-\frac{h^2}{r^2a}\right)\right) + n1_{(0,\infty)}(h)
44
45 \sa GeostatisticalModel
46 */
48 {
49 public:
50
51 /*! \brief Default constructor. */
53
54 /*! \brief Virtual destructor. */
56
57 public:
58
59 /*! \brief Function to calculate the geostatistical information from model. */
60 virtual boost::numeric::ublas::matrix<double> calculate(boost::numeric::ublas::matrix<double> matrix);
61
62 };
63 } // end namespace sa
64} // end namespace te
65
66#endif //__TERRALIB_SA_INTERNAL_GEOSTATISTICALMODELSPHERICAL_H
This file contains a virtual class that represents the geostatistical model.
Class that represents the geostatistical spherical model.
GeostatisticalModelSpherical()
Default constructor.
virtual boost::numeric::ublas::matrix< double > calculate(boost::numeric::ublas::matrix< double > matrix)
Function to calculate the geostatistical information from model.
virtual ~GeostatisticalModelSpherical()
Virtual destructor.
The empirical variogram cannot be computed at every lag distance h and due to variation in the estima...
TerraLib.
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:133