public class LegendreHighPrecisionRuleFactory extends BaseRuleFactory<BigDecimal>
Constructor and Description |
---|
LegendreHighPrecisionRuleFactory()
Default precision is
DECIMAL128 . |
LegendreHighPrecisionRuleFactory(MathContext mContextIn) |
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 mContextIn)
mContextIn
- Precision setting for computing the quadrature rules.protected Pair<BigDecimal[],BigDecimal[]> computeRule(int numberOfPoints)
computeRule
in class BaseRuleFactory<BigDecimal>
numberOfPoints
- Order of the rule to be computed.NotStrictlyPositiveException
- if numberOfPoints < 1
.Copyright © 2019 CNES. All rights reserved.