#include <ProjMultiMatrix.hpp>
|
| ProjMultiMatrix (const std::vector< std::vector< const ProjMatrix * > > &proj, bool toClean=false, bool silent=false) |
|
virtual | ~ProjMultiMatrix () |
|
const MatrixSparse * | getProj () const |
|
| 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 |
|
| 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 |
|
| AStringable () |
|
| AStringable (const AStringable &r) |
|
AStringable & | operator= (const AStringable &r) |
|
virtual | ~AStringable () |
|
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
|
virtual void | display (Id level) const final |
|
◆ ProjMultiMatrix()
gstlrn::ProjMultiMatrix::ProjMultiMatrix |
( |
const std::vector< std::vector< const ProjMatrix * > > & |
proj, |
|
|
bool |
toClean = false , |
|
|
bool |
silent = false |
|
) |
| |
◆ ~ProjMultiMatrix()
gstlrn::ProjMultiMatrix::~ProjMultiMatrix |
( |
| ) |
|
|
virtual |
◆ 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
-
db | Target Db structure |
meshes | List of target meshes |
ncov | Number of covariances (nugget excluded) |
nvar | Number of variables (see notes) |
checkOnZVariable | Check if a sample should be considered or not |
verbose | Verbose 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:
- include/LinearOp/ProjMultiMatrix.hpp
- src/LinearOp/ProjMultiMatrix.cpp