SG++-Doxygen-Documentation
|
#include <GaussLegendreQuadRule1D.hpp>
Public Member Functions | |
GaussLegendreQuadRule1D () | |
load gauss quadrature points for uniform weight function. More... | |
GaussLegendreQuadRule1D (const GaussLegendreQuadRule1D &that)=delete | |
void | getLevelPointsAndWeightsNormalized (size_t level, base::DataVector &coordinates, base::DataVector &weights) |
the coordinates are normalized to [0, 1]. More... | |
~GaussLegendreQuadRule1D () override | |
Public Member Functions inherited from sgpp::base::QuadRule1D | |
void | getLevelPointsAndWeights (size_t level, base::DataVector &coordinates, base::DataVector &weights) |
size_t | getMaxSupportedLevel () const |
QuadRule1D () | |
virtual | ~QuadRule1D () |
Static Public Member Functions | |
static GaussLegendreQuadRule1D & | getInstance () |
Additional Inherited Members | |
Public Attributes inherited from sgpp::base::QuadRule1D | |
std::vector< double > | coordinatesWeights |
sgpp::base::GaussLegendreQuadRule1D::GaussLegendreQuadRule1D | ( | ) |
load gauss quadrature points for uniform weight function.
The points and the weights are generated with numpy.polynomial.legendre.leggauss. the weights are additionally normalized to 1.
References sgpp::base::QuadRule1D::coordinatesWeights.
|
override |
|
delete |
|
static |
Referenced by sgpp::combigrid::GaussLegendreQuadrature::evaluate_iteratively(), sgpp::combigrid::GaussLegendreQuadrature::evaluate_sumexp_iteratively(), sgpp::combigrid::GaussLegendreQuadrature::initialize(), and sgpp::pde::OperationMatrixLTwoDotExplicitBspline::OperationMatrixLTwoDotExplicitBspline().
void sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized | ( | size_t | level, |
base::DataVector & | coordinates, | ||
base::DataVector & | weights | ||
) |
the coordinates are normalized to [0, 1].
level | level of quadrature, is equal to the number of quadrature points |
coordinates | returns the x-coordinates in [0, 1] |
weights | returns the corresponding weights (scaled by 0.5) |
References python.statsfileInfo::f, sgpp::base::QuadRule1D::getLevelPointsAndWeights(), python.statsfileInfo::i, level, and sgpp::base::DataVector::mult().
Referenced by sgpp::base::OperationFirstMomentBspline::doQuadrature(), sgpp::base::OperationFirstMomentModBspline::doQuadrature(), sgpp::base::OperationSecondMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModBspline::doQuadrature(), sgpp::base::OperationFirstMomentModPoly::doQuadrature(), sgpp::base::OperationSecondMomentModPoly::doQuadrature(), sgpp::base::OperationFirstMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPoly::doQuadrature(), sgpp::base::OperationFirstMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationFirstMomentPoly::doQuadrature(), sgpp::base::OperationSecondMomentPolyBoundary::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPolyBoundary::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationFirstMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::datadriven::OperationRosenblattTransformation1DBspline::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DBsplineBoundary::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DBsplineClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModBspline::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModPoly::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModPolyClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPoly::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyBoundary::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModBsplineClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtisBoundary::doTransformation1D(), sgpp::base::BsplineModifiedClenshawCurtisBasis< unsigned int, unsigned int >::getIntegral(), sgpp::base::BsplineClenshawCurtisBasis< unsigned int, unsigned int >::getIntegral(), sgpp::base::FundamentalSplineBasis< unsigned int, unsigned int >::getIntegral(), sgpp::base::FundamentalSplineModifiedBasis< unsigned int, unsigned int >::getIntegral(), sgpp::pde::OperationMatrixLTwoDotPolyBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotModPoly::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotModBspline::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPoly::mult(), sgpp::pde::OperationMatrixLTwoDotBspline::mult(), sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplacePoly::mult(), sgpp::pde::OperationLaplaceBspline::mult(), sgpp::pde::OperationLaplaceBsplineBoundary::mult(), sgpp::pde::OperationLaplaceBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModBspline::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModPoly::mult(), sgpp::pde::OperationLaplaceModPolyClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyBoundary::mult(), sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::mult(), sgpp::pde::OperationLaplaceExplicitBspline::OperationLaplaceExplicitBspline(), sgpp::pde::OperationLaplaceExplicitModBspline::OperationLaplaceExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBspline::OperationMatrixLTwoDotExplicitBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineBoundary::OperationMatrixLTwoDotExplicitBsplineBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitModBspline::OperationMatrixLTwoDotExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitModPoly::OperationMatrixLTwoDotExplicitModPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPoly::OperationMatrixLTwoDotExplicitPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyBoundary::OperationMatrixLTwoDotExplicitPolyBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtis::OperationMatrixLTwoDotExplicitPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary(), sgpp::datadriven::OperationInverseRosenblattTransformation1DBspline::~OperationInverseRosenblattTransformation1DBspline(), sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineBoundary::~OperationInverseRosenblattTransformation1DBsplineBoundary(), sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineClenshawCurtis::~OperationInverseRosenblattTransformation1DBsplineClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformation1DModBspline::~OperationInverseRosenblattTransformation1DModBspline(), sgpp::datadriven::OperationInverseRosenblattTransformation1DModBsplineClenshawCurtis::~OperationInverseRosenblattTransformation1DModBsplineClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformation1DModPoly::~OperationInverseRosenblattTransformation1DModPoly(), sgpp::datadriven::OperationInverseRosenblattTransformation1DModPolyClenshawCurtis::~OperationInverseRosenblattTransformation1DModPolyClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformation1DPoly::~OperationInverseRosenblattTransformation1DPoly(), sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyBoundary::~OperationInverseRosenblattTransformation1DPolyBoundary(), sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtis::~OperationInverseRosenblattTransformation1DPolyClenshawCurtis(), and sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary::~OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary().