Function sets::trivindex

source · []
pub fn trivindex(asc: bool, n: usize) -> Vec<usize>
Expand description

Constructs a trivial index (for already sorted sets), of required ascending or descending order and size