Documentation of 'smile.interpolation.BilinearInterpolation' Java class
BilinearInterpolation
smile.interpolation

Class BilinearInterpolation

  • All Implemented Interfaces:
    Interpolation2D


    public class BilinearInterpolation
    extends java.lang.Object
    implements Interpolation2D
    Bilinear interpolation in a two-dimensional regular grid. Bilinear interpolation is an extension of linear interpolation for interpolating functions of two variables on a regular grid. The key idea is to perform linear interpolation first in one direction, and then again in the other direction.
    • Constructor Summary

      Constructors 
      Constructor and Description
      BilinearInterpolation(double[] x1, double[] x2, double[][] y)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double interpolate(double x1, double x2)
      Interpolate the data at a given 2-dimensional point.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BilinearInterpolation

        public BilinearInterpolation(double[] x1,
                                     double[] x2,
                                     double[][] y)
        Constructor.
    • Method Detail

      • interpolate

        public double interpolate(double x1,
                                  double x2)
        Description copied from interface: Interpolation2D
        Interpolate the data at a given 2-dimensional point.
        Specified by:
        interpolate in interface Interpolation2D

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.