public class LegendreHighPrecisionRuleFactory extends BaseRuleFactory<BigDecimal>
| Constructor and Description |
|---|
LegendreHighPrecisionRuleFactory()
Default precision is
DECIMAL128. |
LegendreHighPrecisionRuleFactory(MathContext mContext) |
| Modifier and Type | Method and Description |
|---|---|
protected Pair<BigDecimal[],BigDecimal[]> |
computeRule(int numberOfPoints)
Computes the rule for the given order.
|
addRule, getRule, getRuleInternalpublic LegendreHighPrecisionRuleFactory()
DECIMAL128.public LegendreHighPrecisionRuleFactory(MathContext mContext)
mContext - Precision setting for computing the quadrature rules.protected Pair<BigDecimal[],BigDecimal[]> computeRule(int numberOfPoints) throws DimensionMismatchException
computeRule in class BaseRuleFactory<BigDecimal>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.