T
- Type of the number used to represent the points and weights of
the quadrature rules.public class FieldLegendreRuleFactory<T extends CalculusFieldElement<T>> extends FieldAbstractRuleFactory<T>
Constructor and Description |
---|
FieldLegendreRuleFactory(Field<T> field)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
Pair<T[],T[]> |
computeRule(int numberOfPoints)
Computes the rule for the given order.
|
enforceSymmetry, findRoots, getField, getRule
public Pair<T[],T[]> computeRule(int numberOfPoints) throws MathIllegalArgumentException
computeRule
in class FieldAbstractRuleFactory<T extends CalculusFieldElement<T>>
numberOfPoints
- Order of the rule to be computed.MathIllegalArgumentException
- if the elements of the pair do not
have the same length.Copyright © 2016-2021 CS GROUP. All rights reserved.