Class FieldLaguerreRuleFactory<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.hipparchus.analysis.integration.gauss.FieldAbstractRuleFactory<T>
-
- org.hipparchus.analysis.integration.gauss.FieldLaguerreRuleFactory<T>
-
- Type Parameters:
T
- Type of the number used to represent the points and weights of the quadrature rules.
- All Implemented Interfaces:
FieldRuleFactory<T>
public class FieldLaguerreRuleFactory<T extends CalculusFieldElement<T>> extends FieldAbstractRuleFactory<T>
Factory that creates Gauss-type quadrature rule using Laguerre polynomials.- Since:
- 2.0
- See Also:
- Gauss-Laguerre quadrature (Wikipedia)
-
-
Constructor Summary
Constructors Constructor Description FieldLaguerreRuleFactory(Field<T> field)
Simple constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<T[],T[]>
computeRule(int numberOfPoints)
Computes the rule for the given order.-
Methods inherited from class org.hipparchus.analysis.integration.gauss.FieldAbstractRuleFactory
enforceSymmetry, findRoots, getField, getRule
-
-
-
-
Method Detail
-
computeRule
public Pair<T[],T[]> computeRule(int numberOfPoints) throws MathIllegalArgumentException
Computes the rule for the given order.- Specified by:
computeRule
in classFieldAbstractRuleFactory<T extends CalculusFieldElement<T>>
- Parameters:
numberOfPoints
- Order of the rule to be computed.- Returns:
- the computed rule.
- Throws:
MathIllegalArgumentException
- if the elements of the pair do not have the same length.
-
-