Function rgsl::sort::select::sort_vector_smallest[][src]

pub fn sort_vector_smallest(dest: &mut [f64], k: usize, v: &VectorF64) -> Value
Expand description

This function copies the k smallest or largest elements of the vector v into the array dest. k must be less than or equal to the length of the vector v.