1.8.0
CCC
 
Loading...
Searching...
No Matches
gstlrn::ProjMultiMatrix Class Reference

#include <ProjMultiMatrix.hpp>

Inheritance diagram for gstlrn::ProjMultiMatrix:
gstlrn::ProjMulti gstlrn::IProj gstlrn::AStringable

Public Member Functions

 ProjMultiMatrix (const std::vector< std::vector< const ProjMatrix * > > &proj, bool toClean=false, bool silent=false)
 
virtual ~ProjMultiMatrix ()
 
const MatrixSparsegetProj () const
 
- Public Member Functions inherited from gstlrn::ProjMulti
 ProjMulti (const std::vector< std::vector< const IProj * > > &projs, bool silent=false)
 
String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable Interface.
 
Id getNApex () const override
 
Id getNPoint () const override
 
Id getNVariable () const
 
Id getNLatent () const
 
virtual ~ProjMulti ()
 
bool empty () const
 
- Public Member Functions inherited from gstlrn::IProj
 IProj ()
 
virtual ~IProj ()
 
 point2mesh (const 1 &inv) const
 
 mesh2point (const 1 &inv) const
 
Id point2mesh (const 1 &inv, 1 &outv) const
 
Id mesh2point (const 1 &inv, 1 &outv) const
 
Id point2mesh (const constvect inv, vect out) const
 
Id mesh2point (const constvect inv, vect out) const
 
Id addMesh2point (const constvect inv, vect outv) const
 
Id addPoint2mesh (const constvect inv, vect outv) const
 
void mesh2point2mesh (const constvect inv, vect outv) const
 
void point2mesh2point (const constvect inv, vect outv) const
 
- Public Member Functions inherited from gstlrn::AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (Id level) const final
 

Static Public Member Functions

static std::vector< std::vector< const ProjMatrix * > > create (std::vector< const ProjMatrix * > &vectproj, Id nvariable)
 
static ProjMultiMatrixcreateFromDbAndMeshes (const Db *db, const std::vector< const AMesh * > &meshes, Id ncov, Id nvar, bool checkOnZVariable=true, bool verbose=false)
 Construct the Projection Matrix starting from 'db' and 'meshes'.
 

Constructor & Destructor Documentation

◆ ProjMultiMatrix()

gstlrn::ProjMultiMatrix::ProjMultiMatrix ( const std::vector< std::vector< const ProjMatrix * > > &  proj,
bool  toClean = false,
bool  silent = false 
)

◆ ~ProjMultiMatrix()

gstlrn::ProjMultiMatrix::~ProjMultiMatrix ( )
virtual

Member Function Documentation

◆ create()

std::vector< std::vector< const ProjMatrix * > > gstlrn::ProjMultiMatrix::create ( std::vector< const ProjMatrix * > &  vectproj,
Id  nvariable 
)
static

◆ createFromDbAndMeshes()

ProjMultiMatrix * gstlrn::ProjMultiMatrix::createFromDbAndMeshes ( const Db db,
const std::vector< const AMesh * > &  meshes,
Id  ncov,
Id  nvar,
bool  checkOnZVariable = true,
bool  verbose = false 
)
static

Construct the Projection Matrix starting from 'db' and 'meshes'.

Parameters
dbTarget Db structure
meshesList of target meshes
ncovNumber of covariances (nugget excluded)
nvarNumber of variables (see notes)
checkOnZVariableCheck if a sample should be considered or not
verboseVerbose flag
Returns
ProjMultiMatrix
Note
Argument 'nvar' is provided as it cannot be derived from 'db' (when 'db' refers to the output file for example, where no Z-variable is available)
When Z-variable is defined, you can still bypass checking the validity of a sample (its Z-value is not NA) if 'checkOnZVariable' is False.

◆ getProj()

const MatrixSparse * gstlrn::ProjMultiMatrix::getProj ( ) const
inline

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