41 std::size_t nLags = matrix.size1();
44 boost::numeric::ublas::matrix<double> m(nLags, 2);
47 std::vector<double> sphericalValues;
49 for(std::size_t t= 0; t < nLags; ++t)
51 if(matrix(t, 0) == 0.)
59 m(t, 0) = matrix(t, 0);
60 m(t, 1) = sphericalValues[t];
double m_nugget
The height of the jump of the semivariogram at the discontinuity at the origin.
double m_sill
Limit of the variogram tending to infinity lag distances.
virtual boost::numeric::ublas::matrix< double > calculate(boost::numeric::ublas::matrix< double > matrix)
Function to calculate the geostatistical information from model.
This file contains a class that represents the geostatistical spherical model.
GeostatisticalModelSpherical()
Default constructor.
virtual ~GeostatisticalModelSpherical()
Virtual destructor.
te::sa::GeostatisticalModelType m_type
Attribute used to define the model type used.
double m_range
The distance in which the difference of the variogram from the sill becomes negligible.