Skip to main content

LinInterp2D

Function LinInterp2D 

Source
pub unsafe extern "C" fn LinInterp2D(
    arr: *mut *mut f32,
    rowind: f64,
    colind: f64,
    nrow: c_long,
    ncol: c_long,
) -> f32
Expand description

Given a 2-D array of floats, interpolates at the specified noninteger indices. Returns first or last array values if index is out of bounds.