[−][src]Function arrayfire::sort
pub fn sort<T>(input: &Array<T>, dim: u32, ascending: bool) -> Array<T> where
T: HasAfEnum + RealNumber,
Sort the values in input Arrays
Sort an multidimensional Array along a given dimension
Parameters
input
- Input Arraydim
- Dimension along which to sortascending
- Sorted output will have ascending values ifTrue
and descending order otherwise.
Return Values
Sorted Array.