|Constructor and Description|
Creates an integrator from the given
Creates an integrator from the given pair of points (first element of the pair) and weights (second element of the pair.
|Modifier and Type||Method and Description|
Returns an estimate of the integral of
getNumberOfPoints, getPoint, getWeight
public SymmetricGaussIntegrator(double points, double weights) throws MathIllegalArgumentException
weights. The integration interval is defined by the first and last value of
pointswhich must be sorted in increasing order.
public SymmetricGaussIntegrator(Pair<double,double> pointsAndWeights) throws MathIllegalArgumentException
public double integrate(UnivariateFunction f)
f(x) * w(x), where
wis a weight function that depends on the actual flavor of the Gauss integration scheme. The algorithm uses the points and associated weights, as passed to the
Copyright © 2016-2021 CS GROUP. All rights reserved.