[−][src]Function arrayfire::approx2
pub fn approx2<T, P>(
input: &Array<T>,
pos0: &Array<P>,
pos1: &Array<P>,
method: InterpType,
off_grid: f32
) -> Array<T> where
T: HasAfEnum + FloatingPoint,
P: HasAfEnum + RealFloating,
Perform signal interpolation for 2d signals
Parameters
input
is the input Arraypos0
Array contains the interpolation locations for first dimensionpos1
Array contains the interpolation locations for second dimensionmethod
indicates the type of interpolation method that be used. It is of type enum InterpTypeoff_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