sort_vector_largest

Function sort_vector_largest 

Source
pub fn sort_vector_largest(
    dest: &mut [f64],
    k: usize,
    v: &VectorF64,
) -> Result<(), 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.