SG++
sgpp::combigrid::VarianceNormStrategy Class Reference

#include <VarianceNormStrategy.hpp>

Inheritance diagram for sgpp::combigrid::VarianceNormStrategy:
sgpp::combigrid::NormStrategy< FloatTensorVector >

Public Member Functions

double norm (FloatTensorVector &vector) override
 computes the variance of the given tensor vector More...
 
 VarianceNormStrategy (std::shared_ptr< sgpp::combigrid::OrthogonalPolynomialBasis1D > basisFunction, size_t numDims, sgpp::combigrid::SingleFunction weightFunction, bool isOrthogonal, sgpp::base::DataVector const &bounds=sgpp::base::DataVector(0))
 
 VarianceNormStrategy (std::shared_ptr< sgpp::combigrid::OrthogonalPolynomialBasis1D > basisFunction, sgpp::combigrid::WeightFunctionsCollection &weightFunctions, bool isOrthogonal, sgpp::base::DataVector const &bounds=sgpp::base::DataVector(0))
 
 VarianceNormStrategy (sgpp::combigrid::OrthogonalBasisFunctionsCollection &basisFunctions, sgpp::combigrid::WeightFunctionsCollection &weightFunctions, bool isOrthogonal, sgpp::base::DataVector const &bounds=sgpp::base::DataVector(0))
 
virtual ~VarianceNormStrategy ()
 
- Public Member Functions inherited from sgpp::combigrid::NormStrategy< FloatTensorVector >
 NormStrategy ()
 
virtual ~NormStrategy ()
 

Constructor & Destructor Documentation

sgpp::combigrid::VarianceNormStrategy::VarianceNormStrategy ( std::shared_ptr< sgpp::combigrid::OrthogonalPolynomialBasis1D basisFunction,
size_t  numDims,
sgpp::combigrid::SingleFunction  weightFunction,
bool  isOrthogonal,
sgpp::base::DataVector const &  bounds = sgpp::base::DataVector(0) 
)
sgpp::combigrid::VarianceNormStrategy::VarianceNormStrategy ( std::shared_ptr< sgpp::combigrid::OrthogonalPolynomialBasis1D basisFunction,
sgpp::combigrid::WeightFunctionsCollection weightFunctions,
bool  isOrthogonal,
sgpp::base::DataVector const &  bounds = sgpp::base::DataVector(0) 
)
sgpp::combigrid::VarianceNormStrategy::VarianceNormStrategy ( sgpp::combigrid::OrthogonalBasisFunctionsCollection basisFunctions,
sgpp::combigrid::WeightFunctionsCollection weightFunctions,
bool  isOrthogonal,
sgpp::base::DataVector const &  bounds = sgpp::base::DataVector(0) 
)
sgpp::combigrid::VarianceNormStrategy::~VarianceNormStrategy ( )
virtual

Member Function Documentation

double sgpp::combigrid::VarianceNormStrategy::norm ( FloatTensorVector vector)
overridevirtual

computes the variance of the given tensor vector

Parameters
vectortensor
Returns
variance

Reimplemented from sgpp::combigrid::NormStrategy< FloatTensorVector >.

References sgpp::combigrid::SecondMomentNormStrategy::norm(), and sgpp::combigrid::FirstMomentNormStrategy::norm().


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