类 UnivariateInterpolatorAbstractTest

java.lang.Object
org.hipparchus.analysis.interpolation.UnivariateInterpolatorAbstractTest
直接已知子类:
LinearInterpolatorTest, SplineInterpolatorTest

public abstract class UnivariateInterpolatorAbstractTest extends Object
插值器的基本测试。
  • 字段详细资料

    • knotTolerance

      protected double knotTolerance
      根结点处样条插值器值的误差容限
    • coefficientTolerance

      protected double coefficientTolerance
      用于插值多项式系数的误差容限
    • interpolationTolerance

      protected double interpolationTolerance
      插值值的误差容限
  • 构造器详细资料

    • UnivariateInterpolatorAbstractTest

      public UnivariateInterpolatorAbstractTest()
  • 方法详细资料

    • buildDoubleInterpolator

      protected abstract UnivariateInterpolator buildDoubleInterpolator()
    • buildFieldInterpolator

      protected abstract FieldUnivariateInterpolator 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

      protected void verifyInterpolation(UnivariateFunction f, double[] x, double[] y)
      验证 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

      protected Binary64[] buildD64(double... c)
    • checkCoeffs

      protected <T extends CalculusFieldElement<T>> void checkCoeffs(double tolerance, FieldPolynomialFunction<T> p, double... ref)