Skip to main content

valid_window_bounds

Function valid_window_bounds 

Source
fn valid_window_bounds(
    values: &Float64Array,
    offset: usize,
    length: usize,
) -> Option<(usize, usize, usize)>
Expand description

Locates the samples inside [offset, offset + length), returning the first and last non-null index together with the number of non-null slots. Returns None when the window holds no sample.