Skip to main content

forward_fill_interpolate

Function forward_fill_interpolate 

Source
pub fn forward_fill_interpolate(
    source: &[f64],
    source_indices: &[usize],
    target_size: usize,
    interpolate: bool,
) -> Vec<f64>
Expand description

Forward-fill with interpolation for upsampling

This function performs forward-fill with optional linear interpolation between known values for smoother upsampling.