public class LegendreRuleFactory extends AbstractRuleFactory
Constructor and Description |
---|
LegendreRuleFactory() |
Modifier and Type | Method and Description |
---|---|
protected Pair<double[],double[]> |
computeRule(int numberOfPoints)
Computes the rule for the given order.
|
enforceSymmetry, findRoots, getRule
protected Pair<double[],double[]> computeRule(int numberOfPoints) throws MathIllegalArgumentException
computeRule
in class AbstractRuleFactory
numberOfPoints
- Order of the rule to be computed.MathIllegalArgumentException
- if the elements of the pair do not
have the same length.Copyright © 2016-2021 CS GROUP. All rights reserved.