[src] Function arrayfire::approx2_uniform

pub fn approx2_uniform<T, P>(
input: &Array<T>,
pos0: &Array<P>,
interp_dim0: i32,
start0: f64,
step0: f64,
pos1: &Array<P>,
interp_dim1: i32,
start1: f64,
step1: f64,
method: InterpType,
off_grid: f32
) -> Array<T> where
T: HasAfEnum + FloatingPoint,
P: HasAfEnum + RealFloating,

Perform signal interpolation for 2d signals along a specified dimension

Parameters

  • input is the input Array
  • pos0 Array contains the interpolation locations for first dimension
  • interp_dim0 is the dimension along which interpolation is performed
  • start0 is the first index along interp_dim0
  • step0 is the uniform spacing value between subsequent indices along interp_dim0
  • pos1 Array contains the interpolation locations for second dimension
  • interp_dim0 is the dimension along which interpolation is performed
  • start0 is the first index along interp_dim1
  • step0 is the uniform spacing value between subsequent indices along interp_dim1
  • 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

AltStyle によって変換されたページ (->オリジナル) /