T
- Type of the number used to represent the points and weights of
the quadrature rules.public class ConvertingRuleFactory<T extends FieldElement<T>> extends AbstractRuleFactory
Constructor and Description |
---|
ConvertingRuleFactory(FieldRuleFactory<T> fieldFactory)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Pair<double[],double[]> |
computeRule(int numberOfPoints)
Computes the rule for the given order.
|
enforceSymmetry, findRoots, getRule
public ConvertingRuleFactory(FieldRuleFactory<T> fieldFactory)
fieldFactory
- field-based factory to convertprotected Pair<double[],double[]> computeRule(int numberOfPoints) throws MathIllegalArgumentException
computeRule
in class AbstractRuleFactory
numberOfPoints
- Order of the rule to be computed.MathIllegalArgumentException
- if the elements of the pair do not
have the same length.Copyright © 2016-2022 CS GROUP. All rights reserved.