public class HermiteRuleFactory extends BaseRuleFactory<java.lang.Double>
f(x) e-x2
I. Krasikov,
Nonnegative quadratic forms and bounds on orthogonal polynomials,
Journal of Approximation theory 111, 31-49
| Modifier and Type | Field and Description |
|---|---|
private static double |
H0
π-1/4
|
private static double |
H1
π-1/4 √2
|
private static double |
SQRT_PI
π1/2
|
| Constructor and Description |
|---|
HermiteRuleFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Pair<java.lang.Double[],java.lang.Double[]> |
computeRule(int numberOfPoints)
Computes the rule for the given order.
|
addRule, getRule, getRuleInternalprivate static final double SQRT_PI
private static final double H0
private static final double H1
protected Pair<java.lang.Double[],java.lang.Double[]> computeRule(int numberOfPoints) throws DimensionMismatchException
computeRule in class BaseRuleFactory<java.lang.Double>numberOfPoints - Order of the rule to be computed.DimensionMismatchException - if the elements of the pair do not
have the same length.Copyright (c) 2003-2015 Apache Software Foundation