SG++-Doxygen-Documentation
sgpp::combigrid::FullGridVarianceSummationStrategy< V > Class Template Reference

#include <FullGridVarianceSummationStrategy.hpp>

Inheritance diagram for sgpp::combigrid::FullGridVarianceSummationStrategy< V >:
sgpp::combigrid::AbstractFullGridSummationStrategy< V >

Public Member Functions

eval (MultiIndex const &level) override
 Calculates the variance by calculating the mean via B spline Quadrature and the mean of f^2 via B spline scalar products. More...
 
 FullGridVarianceSummationStrategy (std::shared_ptr< AbstractCombigridStorage > storage, std::vector< std::shared_ptr< AbstractLinearEvaluator< V >>> scalarProductEvaluatorPrototypes, std::vector< std::shared_ptr< AbstractPointHierarchy >> pointHierarchies)
 Constructor. More...
 
 ~FullGridVarianceSummationStrategy ()
 
- Public Member Functions inherited from sgpp::combigrid::AbstractFullGridSummationStrategy< V >
 AbstractFullGridSummationStrategy (std::shared_ptr< AbstractCombigridStorage > storage, std::vector< std::shared_ptr< AbstractLinearEvaluator< V >>> evaluatorPrototypes, std::vector< std::shared_ptr< AbstractPointHierarchy >> pointHierarchies)
 Constructor. More...
 
void setParameters (std::vector< V > const &params)
 Sets the parameters for the evaluators. More...
 
virtual ~AbstractFullGridSummationStrategy ()
 

Additional Inherited Members

- Protected Attributes inherited from sgpp::combigrid::AbstractFullGridSummationStrategy< V >
std::vector< std::vector< V > > basisValues
 For each dimension, this contains a vector of weights which are used as coefficients for linearly combining the function values at different grid points. More...
 
std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > evaluatorPrototypes
 
std::vector< std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > > evaluators
 
std::vector< V > parameters
 
std::vector< V > partialProducts
 
std::vector< std::shared_ptr< AbstractPointHierarchy > > pointHierarchies
 
std::shared_ptr< AbstractCombigridStoragestorage
 

Constructor & Destructor Documentation

◆ FullGridVarianceSummationStrategy()

template<typename V >
sgpp::combigrid::FullGridVarianceSummationStrategy< V >::FullGridVarianceSummationStrategy ( std::shared_ptr< AbstractCombigridStorage storage,
std::vector< std::shared_ptr< AbstractLinearEvaluator< V >>>  scalarProductEvaluatorPrototypes,
std::vector< std::shared_ptr< AbstractPointHierarchy >>  pointHierarchies 
)
inline

Constructor.

Parameters
storageStorage that stores and provides the function values for each grid point.
scalarProductEvaluatorPrototypesprototype objects for the evaluators that are cloned to get an evaluator for each dimension and each level.
pointHierarchiesPointHierarchy objects for each dimension providing the points for each level and information about their ordering.

◆ ~FullGridVarianceSummationStrategy()

Member Function Documentation

◆ eval()


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