Function rmq::reduce_array

source ยท
pub fn reduce_array(x: &[usize], block_size: BlockSize) -> Vec<usize>
Expand description

Reduce an array x to the smallest value in each block (of size block_size) and the index in the original array that this minimal value sits at.