public class LegendreRuleFactory extends BaseRuleFactory<Double>
Constructor and Description |
---|
LegendreRuleFactory() |
Modifier and Type | Method and Description |
---|---|
protected Pair<Double[],Double[]> |
computeRule(int numberOfPoints)
Computes the rule for the given order.
|
addRule, getRule, getRuleInternal
protected Pair<Double[],Double[]> computeRule(int numberOfPoints) throws MathIllegalArgumentException
computeRule
in class BaseRuleFactory<Double>
numberOfPoints
- Order of the rule to be computed.MathIllegalArgumentException
- if the elements of the pair do not
have the same length.Copyright © 2016–2019 Hipparchus.org. All rights reserved.