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, getRuleInternal
public LegendreHighPrecisionRuleFactory()
DECIMAL128
.public LegendreHighPrecisionRuleFactory(MathContext mContext)
mContext
- Precision setting for computing the quadrature rules.protected Pair<BigDecimal[],BigDecimal[]> computeRule(int numberOfPoints) throws MathIllegalArgumentException
computeRule
in class BaseRuleFactory<BigDecimal>
numberOfPoints
- Order of the rule to be computed.MathIllegalArgumentException
- if the elements of the pair do not
have the same length.Copyright © 2016–2020 Hipparchus.org. All rights reserved.