ILNumerics Ultimate VS

ExtensionMethodssort Method (MutableUInt16, ArrayUInt16, InArrayUInt16, OutArrayUInt16, RetArrayUInt16, StorageUInt16, Int32, Boolean)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[numpy API] Sort elements of A inplace.

[ILNumerics numpy Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.4.0.0 (5.4.7431.3055)
Syntax

public static void sort(
	this Mutable<ushort, Array<ushort>, InArray<ushort>, OutArray<ushort>, RetArray<ushort>, Storage<ushort>> A,
	int axis = -1,
	bool descending = false
)

Parameters

A
Type: ILNumerics.Core.ArraysMutableUInt16, ArrayUInt16, InArrayUInt16, OutArrayUInt16, RetArrayUInt16, StorageUInt16
Array to get sorted.
axis (Optional)
Type: SystemInt32
[Optional] The working dimension. Default: (-1) sorts the last dimension.
descending (Optional)
Type: SystemBoolean
[Optional] Sort in descending order. Default: (false) sort in ascending order.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MutableUInt16, ArrayUInt16, InArrayUInt16, OutArrayUInt16, RetArrayUInt16, StorageUInt16. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks

The sort is performed in parallel, using the quicksort algorithm.

See sort(BaseArrayUInt16, Int32, Boolean) for details.

This function works on the elements of A directly. No copy will be made. Therefore, it is only available for mutable arrays.

[ILNumerics numpy Module]

See Also

Reference

MathInternal.sort(BaseArrayUInt16, Int32, Boolean)