Class BicubicSplineInterpolator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean initializeDerivatives
      Deprecated.
      Whether to initialize internal data used to compute the analytical derivatives of the splines.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      BicubicSplineInterpolatingFunction interpolate​(double[] xval, double[] yval, double[][] fval)
      Deprecated.
      Compute an interpolating function for the dataset.
      private int nextIndex​(int i, int max)
      Deprecated.
      Computes the next index of an array, clipping if necessary.
      private int previousIndex​(int i)
      Deprecated.
      Computes the previous index of an array, clipping if necessary.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • initializeDerivatives

        private final boolean initializeDerivatives
        Deprecated.
        Whether to initialize internal data used to compute the analytical derivatives of the splines.
    • Constructor Detail

      • BicubicSplineInterpolator

        public BicubicSplineInterpolator()
        Deprecated.
        Default constructor. The argument initializeDerivatives is set to false.
      • BicubicSplineInterpolator

        public BicubicSplineInterpolator​(boolean initializeDerivatives)
        Deprecated.
        Creates an interpolator.
        Parameters:
        initializeDerivatives - Whether to initialize the internal data needed for calling any of the methods that compute the partial derivatives of the function returned from the call to interpolate.
    • Method Detail

      • nextIndex

        private int nextIndex​(int i,
                              int max)
        Deprecated.
        Computes the next index of an array, clipping if necessary. It is assumed (but not checked) that i >= 0.
        Parameters:
        i - Index.
        max - Upper limit of the array.
        Returns:
        the next index.
      • previousIndex

        private int previousIndex​(int i)
        Deprecated.
        Computes the previous index of an array, clipping if necessary. It is assumed (but not checked) that i is smaller than the size of the array.
        Parameters:
        i - Index.
        Returns:
        the previous index.