[−][src]Function arrayfire::approx1
pub fn approx1<T, P>(
input: &Array<T>,
pos: &Array<P>,
method: InterpType,
off_grid: f32
) -> Array<T> where
T: HasAfEnum + FloatingPoint,
P: HasAfEnum + RealFloating,
Perform signal interpolation for 1d signals
Parameters
inputis the input ArrayposArray contains the interpolation locationsmethodindicates the type of interpolation method that be used. It is of type enum InterpTypeoff_gridis the value that will set in the output Array when certain index is out of bounds
Return Values
An Array with interpolated values