fn last_two_samples(
values: &Float64Array,
offset: usize,
len: usize,
) -> Option<(usize, usize)>Expand description
Locates the last two samples inside [offset, offset + len), returning their positions
relative to offset. Returns None when the window holds fewer than two samples.