Function arrayfire::sort [] [src]

pub fn sort(input: &Array, dim: u32, ascending: bool) -> Array

Sort the values in input Arrays

Sort an multidimensional Array along a given dimension

Parameters

  • input - Input Array
  • dim - Dimension along which to sort
  • ascending - Sorted output will have ascending values if True and descending order otherwise.

Return Values

Sorted Array.