Loading [MathJax]/extensions/tex2jax.js
1.7.3
Geostatistics & Machine Learning toolbox | https://gstlearn.org
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Vecchia Class Reference

#include <Vecchia.hpp>

Public Member Functions

 Vecchia (const ModelGeneric *model, const Db *db1, const Db *db2=nullptr)
 
 Vecchia (const Vecchia &r)=delete
 
Vecchiaoperator= (const Vecchia &r)=delete
 
virtual ~Vecchia ()
 
int computeLower (const MatrixT< int > &Ranks, bool verbose=false)
 Construct the Vecchia approximation starting from 'Ranks'.
 
const MatrixSparsegetLFull () const
 
const VectorDoublegetDFull () const
 
const MatrixSparsegetDMat () const
 
double getLFull (int i, int j) const
 

Constructor & Destructor Documentation

◆ Vecchia() [1/2]

Vecchia::Vecchia ( const ModelGeneric model,
const Db db1,
const Db db2 = nullptr 
)

◆ Vecchia() [2/2]

Vecchia::Vecchia ( const Vecchia r)
delete

◆ ~Vecchia()

Vecchia::~Vecchia ( )
virtual

Member Function Documentation

◆ computeLower()

int Vecchia::computeLower ( const MatrixT< int > &  Ranks,
bool  verbose = false 
)

Construct the Vecchia approximation starting from 'Ranks'.

Parameters
RanksMatrixT<int> which the ranks of the sample indices for each target
verboseVerbose flag
Returns
int Error returned code
Note
The dimension of 'Rank' is:
  • ncols = Dimension of the Neighborhood + 1
  • nrows = Number of samples (dbin and dbout [optional])
For each row, the first element of 'Ranks' is the sample number
  • if smaller than N_dbin, it refers to the sample absolute rank in 'dbin'
  • if larger, its value (after subtracting N_dbin) gives the sample absolute rank in 'dbout'

◆ getDFull()

const VectorDouble & Vecchia::getDFull ( ) const
inline

◆ getDMat()

const MatrixSparse & Vecchia::getDMat ( ) const
inline

◆ getLFull() [1/2]

const MatrixSparse & Vecchia::getLFull ( ) const
inline

◆ getLFull() [2/2]

double Vecchia::getLFull ( int  i,
int  j 
) const
inline

◆ operator=()

Vecchia & Vecchia::operator= ( const Vecchia r)
delete

The documentation for this class was generated from the following files: