MtxIntDiff::WeightsGauss Function

void WeightsGauss(int NumPoints, TVec *Points, TVec *Weights, const TMtxFloatPrecision FloatPrecision = TMtxFloatPrecision::mvDouble);

Gauss base points and weights.

#NameTypeDescription
1NumPointsint
2PointsTVec *
3WeightsTVec *
4FloatPrecision = TMtxFloatPrecision::mvDoubleconst TMtxFloatPrecision
Remarks:

Calculates base points and weight factors by using the so called Gauss algorithm given by Davis and Rabinowitz in 'Methods of Numerical Integration', page 365, Academic Press, 1975.

See Also: MtxIntDiff::WeightsChebyshevGauss, MtxIntDiff::WeightsNewtonCotes
Declared in Dew::Math::Units::MtxIntDiff · Dew.Math/Units.MtxIntDiff.h · Cross-compiler