Interface LaplaceInterpolation


public interface LaplaceInterpolation
Laplace's interpolation to restore missing or unmeasured values on a 2-dimensional evenly spaced regular grid. In some sense, Laplace interpolation produces the smoothest possible interpolant, which are obtained by solving a very sparse linear equations with biconjugate gradient method.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static double
    interpolate(double[][] matrix)
    Laplace interpolation.
    static double
    interpolate(double[][] matrix, double tol)
    Laplace interpolation.
    static double
    interpolate(double[][] matrix, double tol, int maxIter)
    Laplace interpolation.
  • Method Details

    • interpolate

      static double interpolate(double[][] matrix)
      Laplace interpolation.
      Parameters:
      matrix - on input, values of NaN are deemed to be missing data. On output, they are refilled with the interpolated solution.
      Returns:
      the estimated error.
    • interpolate

      static double interpolate(double[][] matrix, double tol)
      Laplace interpolation.
      Parameters:
      matrix - on input, values of NaN are deemed to be missing data. On output, they are refilled with the interpolated solution.
      tol - the desired convergence tolerance.
      Returns:
      the estimated error.
    • interpolate

      static double interpolate(double[][] matrix, double tol, int maxIter)
      Laplace interpolation.
      Parameters:
      matrix - on input, values of NaN are deemed to be missing data. On output, they are refilled with the interpolated solution.
      tol - the desired convergence tolerance.
      maxIter - the maximum number of allowed iterations.
      Returns:
      the estimated error.