Class RecursiveGridInterpolation

  • All Implemented Interfaces:
    MultivariateGridInterpolation
    Direct Known Subclasses:
    MultiCubicSpline, MultiLinearInterpolation

    public class RecursiveGridInterpolation
    extends Object
    implements MultivariateGridInterpolation
    This algorithm works by recursively calling lower order interpolation (hence the cost is exponential), until the given univariate algorithm can be used when the remaining dimension becomes one. This general algorithm, together with any given univariate interpolation algorithm, works for an arbitrary number of dimensions.
    • Constructor Detail

      • RecursiveGridInterpolation

        public RecursiveGridInterpolation​(Interpolation univariate)
        Constructs an n-dimensional interpolation using a given univariate interpolation algorithm.
        Parameters:
        univariate - a univariate interpolation algorithm