|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory<java.lang.Double>
org.apache.commons.math3.analysis.integration.gauss.LegendreRuleFactory
public class LegendreRuleFactory
Factory that creates Gauss-type quadrature rule using Legendre polynomials.
In this implementation, the lower and upper bounds of the natural interval
of integration are -1 and 1, respectively.
The Legendre polynomials are evaluated using the recurrence relation
presented in .
Constructor Summary | |
---|---|
LegendreRuleFactory()
|
Method Summary | |
---|---|
protected Pair<java.lang.Double[],java.lang.Double[]> |
computeRule(int numberOfPoints)
Computes the rule for the given order. |
Methods inherited from class org.apache.commons.math3.analysis.integration.gauss.BaseRuleFactory |
---|
addRule, getRule, getRuleInternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LegendreRuleFactory()
Method Detail |
---|
protected Pair<java.lang.Double[],java.lang.Double[]> computeRule(int numberOfPoints) throws NotStrictlyPositiveException
computeRule
in class BaseRuleFactory<java.lang.Double>
numberOfPoints
- Order of the rule to be computed.
NotStrictlyPositiveException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |