A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://arrayfire.github.io/arrayfire-rust/arrayfire/../arrayfire/../arrayfire/fn.sort_index.html below:

arrayfire::sort_index - Rust

[−][src]Function arrayfire::sort_index
pub fn sort_index<T>(
    input: &Array<T>,
    dim: u32,
    ascending: bool
) -> (Array<T>, Array<u32>) where
    T: HasAfEnum + RealNumber

Sort the values in input Arrays

A tuple of Arrays.

The first Array contains the keys based on sorted values.

The second Array contains the original indices of the sorted values.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4