T
- Type of the number used to represent the points and weights of
the quadrature rules.public abstract class BaseRuleFactory<T extends Number> extends Object
computeRule
method.Constructor and Description |
---|
BaseRuleFactory() |
Modifier and Type | Method and Description |
---|---|
Pair<double[],double[]> |
getRule(int numberOfPoints)
Gets a copy of the quadrature rule with the given number of integration
points.
|
public Pair<double[],double[]> getRule(int numberOfPoints) throws NotStrictlyPositiveException, DimensionMismatchException
numberOfPoints
- Number of integration points.NotStrictlyPositiveException
- if numberOfPoints < 1
.DimensionMismatchException
- if the elements of the rule pair do not
have the same length.Jas4pp 1.5 © Java Analysis Studio for Particle Physics