|
| DBMatOfflinePermutable (const std::string &fileName) |
|
virtual void | permuteDecomposition (const sgpp::base::GeneralGridConfiguration &baseGridConfig, const sgpp::base::GeneralGridConfiguration &desiredGridConfig)=0 |
| Applies the permutation and blow-up approach to the decomposition to match the desired grid configuration.
|
|
void | permuteLhsMatrix (const sgpp::base::GeneralGridConfiguration &baseGridConfig, const sgpp::base::GeneralGridConfiguration &desiredGridConfig) |
| Applies permutation and blow-up approach to undecomposed left-hand side matrix.
|
|
virtual void | buildMatrix (Grid *grid, const RegularizationConfiguration ®ularizationConfig) |
| Builds the right hand side matrix with or without the regularization term depending on the type of decomposition.
|
|
virtual DBMatOffline * | clone () const =0 |
| Interface for the clone idiom.
|
|
virtual void | compute_inverse () |
|
virtual void | compute_inverse_parallel (std::shared_ptr< BlacsProcessGrid > processGrid, const ParallelConfiguration ¶llelConfig) |
| parallel/distributed version of compute_inverse()
|
|
void | compute_L2_refine_vectors (DataMatrix *mat_refine, Grid *grid, size_t newPoints) |
| computes vectors of L2 products of grid points for refinement
|
|
| DBMatOffline (const DBMatOffline &rhs) |
| Copy Constructor.
|
|
| DBMatOffline (const std::string &fileName) |
| Constructor Create offline object from serialized offline object.
|
|
| DBMatOffline (DBMatOffline &&rhs)=default |
| Default move constructor.
|
|
virtual void | decomposeMatrix (const RegularizationConfiguration ®ularizationConfig, const DensityEstimationConfiguration &densityEstimationConfig)=0 |
| Decomposes the matrix according to the chosen decomposition type.
|
|
virtual void | decomposeMatrixParallel (RegularizationConfiguration ®ularizationConfig, DensityEstimationConfiguration &densityEstimationConfig, std::shared_ptr< BlacsProcessGrid > processGrid, const ParallelConfiguration ¶llelConfig) |
| The parallel/distributed version of decomposeMatrix(...)
|
|
DataMatrixDistributed & | getDecomposedInverseDistributed () |
| Get a reference to the distributed decomposed matrix, analogously to getDecomposedMatrixDistributed()
|
|
DataMatrix & | getDecomposedMatrix () |
| Get a reference to the decomposed matrix.
|
|
DataMatrixDistributed & | getDecomposedMatrixDistributed () |
| Get a reference to the distributed decomposed matrix.
|
|
virtual sgpp::datadriven::MatrixDecompositionType | getDecompositionType ()=0 |
| Returns the decomposition type of the DBMatOffline object.
|
|
virtual size_t | getGridSize () |
| Returns the dimensionality of the quadratic lhs matrix (i.e.
|
|
DataMatrix & | getInverseMatrix () |
| Get a reference to the inverse matrix.
|
|
DataMatrix & | getLhsMatrix_ONLY_FOR_TESTING () |
| Allows access to lhs matrix, which is meant ONLY FOR TESTING.
|
|
virtual const DataMatrix & | getUnmodifiedR ()=0 |
| Get the unmodified (without added lambda) system matrix R.
|
|
virtual const DataMatrixDistributed & | getUnmodifiedRDistributed (std::shared_ptr< BlacsProcessGrid > processGrid, const ParallelConfiguration ¶llelConfig)=0 |
| Get the distributed version of the unmodified (without added lambda) system matrix R.
|
|
virtual bool | isRefineable ()=0 |
| Only Offline objects based on Cholesky decomposition, or orthogonal adaptivity can be refined.
|
|
DBMatOffline & | operator= (const DBMatOffline &rhs) |
| Default copy assign operator.
|
|
DBMatOffline & | operator= (DBMatOffline &&rhs)=default |
| Default move assign operator.
|
|
void | printMatrix () |
| Prints the matrix onto standard output.
|
|
virtual void | store (const std::string &fileName) |
| Serialize the DBMatOffline Object.
|
|
virtual void | syncDistributedDecomposition (std::shared_ptr< BlacsProcessGrid > processGrid, const ParallelConfiguration ¶llelConfig) |
| Synchronizes the decomposed matrix.
|
|
virtual void | syncDistributedInverse (std::shared_ptr< BlacsProcessGrid > processGrid, const ParallelConfiguration ¶llelConfig) |
| Synchronizes the inverse matrix.
|
|
virtual void | updateRegularization (double lambda)=0 |
| Modifies the decomposition to update the regularization parameter lambda.
|
|
virtual void | updateRegularizationParallel (double lambda, std::shared_ptr< BlacsProcessGrid > processGrid, const ParallelConfiguration ¶llelConfig)=0 |
| Modifies the parallel decomposition to update the regularization parameter lambda.
|
|
virtual | ~DBMatOffline ()=default |
| Default virtual destructor.
|
|
|
std::vector< size_t > | applyPermutation (std::vector< size_t > vector, std::vector< size_t > permutation) |
| Applies a permutation stored in an array to a vector.
|
|
std::vector< size_t > | computePermutation (std::vector< size_t > baseLevel, std::vector< size_t > desiredLevel) |
| Computes a permutation to transfer the desired level vector into the base level vector.
|
|
| DBMatOfflinePermutable () |
|
void | dimensionBlowUp (const sgpp::base::GeneralGridConfiguration &baseGridConfig, const sgpp::base::GeneralGridConfiguration &desiredGridConfig, sgpp::base::DataMatrix &baseMatrix, bool matrixIsInverse=false) |
| In place application of the blow-up method to a base system matrix.
|
|
size_t | getMatrixIndexForPoint (std::vector< size_t > level, std::vector< size_t > index, std::vector< size_t > gridLevel, const std::vector< size_t > &preComputations) |
| Implementation of the inverse numbering function.
|
|
void | permuteMatrix (const sgpp::base::GeneralGridConfiguration &baseGridConfig, const sgpp::base::GeneralGridConfiguration &desiredGridConfig, const sgpp::base::DataMatrix &baseMatrix, sgpp::base::DataMatrix &permutedMatrix, bool permuteRowsOrColumns) |
| Permutes a given sytem matrix with corresponding grid config baseGridConfig to the system matrix corresponding to desiredGridConfig.
|
|
std::vector< size_t > | preComputeMatrixIndexForPoint (std::vector< size_t > level) |
| Precomputation of the factors for the mapping from level and index vectors to matrix.
|
|
| DBMatOffline () |
|
void | parseInter (const std::string &fileName, std::set< std::set< size_t > > &interactions) const |
| Read the Interactionsterms from a serialized DBMatOfflibe object.
|
|