Function arrayfire::approx2 [] [src]

pub fn approx2(
    input: &Array,
    pos0: &Array,
    pos1: &Array,
    method: InterpType,
    off_grid: f32
) -> Array

Perform signal interpolation for 2d signals

Parameters

  • input is the input Array
  • pos0 Array contains the interpolation locations for first dimension
  • pos1 Array contains the interpolation locations for second dimension
  • method indicates the type of interpolation method that be used. It is of type enum InterpType
  • off_grid is the value that will set in the output Array when certain index is out of bounds

Return Values

An Array with interpolated values