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 DimensionMismatchException
computeRule
in class BaseRuleFactory<Double>
numberOfPoints
- Order of the rule to be computed.DimensionMismatchException
- if the elements of the pair do not
have the same length.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.