![]() |
SG++-Doxygen-Documentation
|
Class for the system of linear equations for hierarchising. More...
#include <OperationPoleHierarchisationGeneral.hpp>
Public Member Functions | |
size_t | getDimension () const override |
level_t | getLevel () const |
double | getMatrixEntry (size_t i, size_t j) override |
Compute an entry of the matrix corresponding to the system of linear equations. | |
bool | hasBoundary () const |
HierarchisationGeneralSLE (base::Basis< level_t, index_t > &basis, size_t dim, level_t level, bool isBasisHierarchical=true, bool hasBoundary=true) | |
Constructor. | |
bool | isBasisHierarchical () const |
bool | isMatrixEntryNonZero (size_t i, size_t j) override |
Determine whether an entry of the matrix corresponding to the system of linear equations does not vanish. | |
void | setDimension (size_t dim) |
void | setHasBoundary (bool hasBoundary) |
void | setIsBasisHierarchical (bool isBasisHierarchical) |
void | setLevel (level_t level) |
~HierarchisationGeneralSLE () override | |
Virtual destructor. | |
![]() | |
virtual size_t | countNNZ () |
Count all non-zero entries. | |
virtual bool | isCloneable () const |
virtual void | matrixVectorMultiplication (const DataVector &x, DataVector &y) |
Multiply the matrix with a vector. | |
SLE () | |
Constructor. | |
virtual | ~SLE () |
Destructor. | |
Protected Attributes | |
base::Basis< level_t, index_t > & | basis |
1D basis | |
size_t | dim |
dimensionality | |
bool | hasBoundary_ |
whether the full grid has points on the boundary | |
bool | isBasisHierarchical_ |
whether the basis is hierarchical or nodal | |
level_t | level |
level of the full grid | |
Class for the system of linear equations for hierarchising.
sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::HierarchisationGeneralSLE | ( | base::Basis< level_t, index_t > & | basis, |
size_t | dim, | ||
level_t | level, | ||
bool | isBasisHierarchical = true , |
||
bool | hasBoundary = true |
||
) |
Constructor.
basis | 1D basis |
dim | dimensionality |
level | level of the full grid |
isBasisHierarchical | whether the basis is hierarchical or nodal |
hasBoundary | whether the full grid has points on the boundary |
|
override |
Virtual destructor.
|
overridevirtual |
Implements sgpp::base::SLE.
level_t sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::getLevel | ( | ) | const |
References level.
|
overridevirtual |
Compute an entry of the matrix corresponding to the system of linear equations.
i | row index |
j | column index |
Implements sgpp::base::SLE.
References sgpp::combigrid::HeterogeneousBasis::hierarchizeLevelIndex(), and level.
bool sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::hasBoundary | ( | ) | const |
bool sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::isBasisHierarchical | ( | ) | const |
|
overridevirtual |
Determine whether an entry of the matrix corresponding to the system of linear equations does not vanish.
i | row index |
j | column index |
Implements sgpp::base::SLE.
void sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setDimension | ( | size_t | dim | ) |
dim | dimensionality |
Referenced by sgpp::combigrid::OperationPoleHierarchisationGeneral::apply().
void sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setHasBoundary | ( | bool | hasBoundary | ) |
hasBoundary | whether the full grid has points on the boundary |
Referenced by sgpp::combigrid::OperationPoleHierarchisationGeneral::apply().
void sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setIsBasisHierarchical | ( | bool | isBasisHierarchical | ) |
isBasisHierarchical | whether the basis is hierarchical or nodal |
void sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setLevel | ( | level_t | level | ) |
level | level of the full grid |
References level.
Referenced by sgpp::combigrid::OperationPoleHierarchisationGeneral::apply().
|
protected |
1D basis
|
protected |
dimensionality
Referenced by python.data.DataContainer.DataContainer::__init__(), python.uq.dists.EstimatedDist.EstimatedDist::_convertEvalPoint(), python.uq.dists.SGDEdist.SGDEdist::cdf(), python.uq.dists.KDEDist.KDEDist::cov(), python.uq.dists.SGDEdist.SGDEdist::cov(), python.data.DataContainer.DataContainer::getDataSubsetByIndexList(), python.data.DataContainer.DataContainer::getDim(), python.uq.dists.EstimatedDist.EstimatedDist::getDim(), python.uq.dists.LibAGFDist.LibAGFDist::getDim(), python.uq.dists.NatafDist.NatafDist::getDim(), python.uq.dists.SGDEdist.SGDEdist::ppf(), python.uq.dists.EstimatedDist.EstimatedDist::rvs(), python.uq.dists.NatafDist.NatafDist::rvs(), python.uq.dists.KDEDist.KDEDist::rvs(), python.uq.dists.SGDEdist.SGDEdist::rvs(), python.uq.operations.natafTransformation.NatafTransformation::trans_X_to_Z(), and python.uq.operations.natafTransformation.NatafTransformation::trans_Z_to_X().
|
protected |
whether the full grid has points on the boundary
|
protected |
whether the basis is hierarchical or nodal
|
protected |
level of the full grid
Referenced by python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::__eq__(), python.learner.folding.FoldingPolicy.FoldingPolicy::__next__(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::contains(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::containsDimx(), python.uq.learner.builder.GridDescriptor.GridDescriptor::createGrid(), python.uq.estimators.MarginalIntegralStrategy.MarginalIntegralStrategy::estimate(), python.uq.learner.builder.GridDescriptor.GridDescriptor::fromGrid(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::getLevelIndex(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::getMaxLevel(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::overlap(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::overlapDimx(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::transformToReferenceGrid(), python.uq.manager.ASGCStatistics.ASGCStatistics::updateResults(), python.uq.learner.builder.GridDescriptor.GridDescriptor::withLevel(), and python.uq.learner.builder.RegressorSpecificationDescriptor.FoldingDescriptor::withLevel().