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

◆ SecondMomentNormStrategy() [1/3]

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) 
)

◆ SecondMomentNormStrategy() [2/3]

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) 
)

◆ SecondMomentNormStrategy() [3/3]

sgpp::combigrid::SecondMomentNormStrategy::SecondMomentNormStrategy ( sgpp::combigrid::OrthogonalBasisFunctionsCollection basisFunctions,
sgpp::combigrid::WeightFunctionsCollection weightFunctions,
bool  isOrthogonal,
sgpp::base::DataVector const &  bounds = sgpp::base::DataVector(0) 
)

◆ ~SecondMomentNormStrategy()

Member Function Documentation

◆ norm()

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: