|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 NonMonotonicSequenceException, DimensionMismatchException
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 NonMonotonicSequenceException
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 © 2003–2014 The Apache Software Foundation. All rights reserved.