ILNumerics - Technical Application Development 
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
 
New array with the same shape as A.
 
 
            Sort elements of A along the specified dimension.
            
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public static RetArray<uint> sort( BaseArray<uint> A, int dim = -1, bool descending = false )
Parameters
- A
- Type: ILNumericsBaseArrayUInt32
 Input array.
- dim (Optional)
- Type: SystemInt32
 The index of the working dimension or -1 for determining the working dimension automatically (default).
- descending (Optional)
- Type: SystemBoolean
 [Optional] Determins the sorting direction. Default: (false) ascending.
Return Value
Type: RetArrayUInt32New array with the same shape as A.
Remarks
The working dimension for dim = -1 depends on the value of ArrayStyle. For numpy style it starts with the last dimension to search for a non-singleton dimension. For ILNumericsV4 the search starts with the first dimension (index #0).
[ILNumerics Computing Engine]
See Also
