1.8.0a1
CCC
 
Loading...
Searching...
No Matches
ProjMultiMatrix Class Reference

#include <ProjMultiMatrix.hpp>

Inheritance diagram for ProjMultiMatrix:
ProjMulti IProj 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 ProjMulti
 ProjMulti (const std::vector< std::vector< const IProj * > > &projs, bool silent=false)
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable Interface.
 
int getNApex () const override
 
int getNPoint () const override
 
int getNVariable () const
 
int getNLatent () const
 
virtual ~ProjMulti ()
 
bool empty () const
 
- Public Member Functions inherited from IProj
 IProj ()
 
virtual ~IProj ()
 
int point2mesh (const VectorDouble &inv, VectorDouble &outv) const
 
int mesh2point (const VectorDouble &inv, VectorDouble &outv) const
 
int point2mesh (const constvect inv, vect out) const
 
int mesh2point (const constvect inv, vect out) const
 
int addMesh2point (const constvect inv, vect outv) const
 
int addPoint2mesh (const constvect inv, vect outv) const
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ ProjMultiMatrix()

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

◆ ~ProjMultiMatrix()

ProjMultiMatrix::~ProjMultiMatrix ( )
virtual

Member Function Documentation

◆ create()

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

◆ createFromDbAndMeshes()

ProjMultiMatrix * ProjMultiMatrix::createFromDbAndMeshes ( const Db db,
const std::vector< const AMesh * > &  meshes,
int  ncov,
int  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 * ProjMultiMatrix::getProj ( ) const
inline

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