#include <FullGridQuadraticSummationStrategy.hpp>
◆ FullGridQuadraticSummationStrategy()
Constructor.
- Parameters
-
storage | Storage that stores and provides the function values for each grid point. |
evaluatorPrototypes | prototype objects for the evaluators that are cloned to get an evaluator for each dimension and each level. |
pointHierarchies | PointHierarchy objects for each dimension providing the points for each level and information about their ordering. |
◆ ~FullGridQuadraticSummationStrategy()
◆ eval()
Evaluates the function given through the storage for a certain level-multi-index (see class description).
Summation of the form \(\sum_i coefficients_i \sum_j coefficients_j basis_i(param) basis_j(param) \Leftrightarrow v^T * A * v, A_ij = < basis_i(param),basis_j(param) >, v_i = coefficients_i \). This is used for variance calculations. Currently it can only be used with template type V = FloatArrayVector
Implements sgpp::combigrid::AbstractFullGridSummationStrategy< V >.
References sgpp::combigrid::AbstractFullGridSummationStrategy< V >::basisValues, CGLOG, sgpp::combigrid::AbstractFullGridSummationStrategy< V >::evaluatorPrototypes, sgpp::combigrid::AbstractFullGridSummationStrategy< V >::evaluators, h, sgpp::combigrid::MultiIndexIterator::indexAt(), sgpp::combigrid::MultiIndexIterator::isValid(), sgpp::combigrid::MultiIndexIterator::moveToNext(), sgpp::combigrid::AbstractFullGridSummationStrategy< V >::parameters, sgpp::combigrid::AbstractFullGridSummationStrategy< V >::pointHierarchies, sgpp::combigrid::MultiIndexIterator::reset(), sgpp::combigrid::AbstractFullGridSummationStrategy< V >::storage, and python.utils.pca_normalize_dataset::V.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), and sgpp::combigrid::FullGridVarianceSummationStrategy< V >::eval().
The documentation for this class was generated from the following file: