[−][src]Function arrayfire::approx1_uniform
pub fn approx1_uniform<T, P>(
input: &Array<T>,
pos: &Array<P>,
interp_dim: i32,
start: f64,
step: f64,
method: InterpType,
off_grid: f32
) -> Array<T> where
T: HasAfEnum + FloatingPoint,
P: HasAfEnum + RealFloating,
Perform signal interpolation for 1d signals along specified dimension
Parameters
input
is the input Arraypos
Array contains the interpolation locationsinterp_dim
is the dimension along which interpolation is performedstart
is the first index alonginterp_dim
step
is the uniform spacing value between subsequent indices alonginterp_dim
method
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