Class LaguerreRuleFactory
- java.lang.Object
-
- org.apache.commons.math4.analysis.integration.gauss.BaseRuleFactory<java.lang.Double>
-
- org.apache.commons.math4.analysis.integration.gauss.LaguerreRuleFactory
-
public class LaguerreRuleFactory extends BaseRuleFactory<java.lang.Double>
Factory that creates Gauss-type quadrature rule using Laguerre polynomials.- Since:
- 4.0
- See Also:
- Gauss-Laguerre quadrature (Wikipedia)
-
-
Constructor Summary
Constructors Constructor Description LaguerreRuleFactory()
-
Method Summary
Modifier and Type Method Description 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.math4.analysis.integration.gauss.BaseRuleFactory
addRule, getRule, getRuleInternal
-
-
-
-
Method Detail
-
computeRule
protected Pair<java.lang.Double[],java.lang.Double[]> computeRule(int numberOfPoints) throws DimensionMismatchException
Computes the rule for the given order.- Specified by:
computeRulein classBaseRuleFactory<java.lang.Double>- Parameters:
numberOfPoints- Order of the rule to be computed.- Returns:
- the computed rule.
- Throws:
DimensionMismatchException- if the elements of the pair do not have the same length.
-
-