public class LegendreRuleFactory extends BaseRuleFactory<java.lang.Double>
Constructor and Description |
---|
LegendreRuleFactory() |
Modifier and Type | Method and Description |
---|---|
protected Pair<java.lang.Double[],java.lang.Double[]> |
computeRule(int numberOfPoints)
Computes the rule for the given order.
|
addRule, getRule, getRuleInternal
protected Pair<java.lang.Double[],java.lang.Double[]> computeRule(int numberOfPoints) throws DimensionMismatchException
computeRule
in class BaseRuleFactory<java.lang.Double>
numberOfPoints
- Order of the rule to be computed.DimensionMismatchException
- if the elements of the pair do not
have the same length.Copyright (c) 2003-2013 Apache Software Foundation