类 UnivariateInterpolatorAbstractTest
java.lang.Object
org.hipparchus.analysis.interpolation.UnivariateInterpolatorAbstractTest
插值器的基本测试。
-
字段概要
修饰符和类型字段说明protected double
用于插值多项式系数的误差容限protected double
插值值的误差容限protected double
根结点处样条插值器值的误差容限 -
构造器概要
-
方法概要
修饰符和类型方法说明protected Binary64[]
buildD64
(double... c) protected abstract UnivariateInterpolator
protected abstract FieldUnivariateInterpolator
protected <T extends CalculusFieldElement<T>>
voidcheckCoeffs
(double tolerance, FieldPolynomialFunction<T> p, double... ref) void
void
void
void
void
void
protected <T extends CalculusFieldElement<T>>
voidverifyInterpolation
(CalculusFieldUnivariateFunction<T> f, T[] x, T[] y) 验证 f(x[i]) = y[i],其中 i = 0..n-1,n为常见长度。protected void
verifyInterpolation
(UnivariateFunction f, double[] x, double[] y) 验证 f(x[i]) = y[i],其中 i = 0..n-1,n为常见长度。
-
字段详细资料
-
knotTolerance
protected double knotTolerance根结点处样条插值器值的误差容限 -
coefficientTolerance
protected double coefficientTolerance用于插值多项式系数的误差容限 -
interpolationTolerance
protected double interpolationTolerance插值值的误差容限
-
-
构造器详细资料
-
UnivariateInterpolatorAbstractTest
public UnivariateInterpolatorAbstractTest()
-
-
方法详细资料
-
buildDoubleInterpolator
-
buildFieldInterpolator
-
testInterpolateLinearDegenerateTwoSegment
public void testInterpolateLinearDegenerateTwoSegment() -
testInterpolateLinearDegenerateTwoSegmentD64
public void testInterpolateLinearDegenerateTwoSegmentD64() -
testInterpolateLinearDegenerateThreeSegment
public void testInterpolateLinearDegenerateThreeSegment() -
testInterpolateLinearDegenerateThreeSegmentD64
public void testInterpolateLinearDegenerateThreeSegmentD64() -
testIllegalArguments
public void testIllegalArguments() -
testIllegalArgumentsD64
public void testIllegalArgumentsD64() -
verifyInterpolation
验证 f(x[i]) = y[i],其中 i = 0..n-1,n为常见长度。 -
verifyInterpolation
protected <T extends CalculusFieldElement<T>> void verifyInterpolation(CalculusFieldUnivariateFunction<T> f, T[] x, T[] y) 验证 f(x[i]) = y[i],其中 i = 0..n-1,n为常见长度。 -
buildD64
-
checkCoeffs
protected <T extends CalculusFieldElement<T>> void checkCoeffs(double tolerance, FieldPolynomialFunction<T> p, double... ref)
-