SG++-Doxygen-Documentation
sgpp::combigrid::SecondMomentNormStrategy Class Reference

#include <SecondMomentNormStrategy.hpp>

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

Public Member Functions

double norm (FloatTensorVector &vector) override
 computes the second moment of the given tensor vector More...
 
 SecondMomentNormStrategy (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))
 
 SecondMomentNormStrategy (std::shared_ptr< sgpp::combigrid::OrthogonalPolynomialBasis1D > basisFunction, sgpp::combigrid::WeightFunctionsCollection &weightFunctions, bool isOrthogonal, sgpp::base::DataVector const &bounds=sgpp::base::DataVector(0))
 
 SecondMomentNormStrategy (sgpp::combigrid::OrthogonalBasisFunctionsCollection &basisFunctions, sgpp::combigrid::WeightFunctionsCollection &weightFunctions, bool isOrthogonal, sgpp::base::DataVector const &bounds=sgpp::base::DataVector(0))
 
virtual ~SecondMomentNormStrategy ()
 
- Public Member Functions inherited from sgpp::combigrid::NormStrategy< FloatTensorVector >
 NormStrategy ()
 
virtual ~NormStrategy ()
 

Constructor & Destructor Documentation

sgpp::combigrid::SecondMomentNormStrategy::SecondMomentNormStrategy ( 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::SecondMomentNormStrategy::SecondMomentNormStrategy ( std::shared_ptr< sgpp::combigrid::OrthogonalPolynomialBasis1D basisFunction,
sgpp::combigrid::WeightFunctionsCollection weightFunctions,
bool  isOrthogonal,
sgpp::base::DataVector const &  bounds = sgpp::base::DataVector(0) 
)
sgpp::combigrid::SecondMomentNormStrategy::SecondMomentNormStrategy ( sgpp::combigrid::OrthogonalBasisFunctionsCollection basisFunctions,
sgpp::combigrid::WeightFunctionsCollection weightFunctions,
bool  isOrthogonal,
sgpp::base::DataVector const &  bounds = sgpp::base::DataVector(0) 
)

Member Function Documentation

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

computes the second moment of the given tensor vector

Parameters
vectortensor
Returns
second moment

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

References sgpp::combigrid::FloatTensorVector::getValues(), python.statsfileInfo::i, and sgpp::combigrid::OrthogonalBasisFunctionsCollection::size().

Referenced by sgpp::combigrid::VarianceNormStrategy::norm().


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