ILNumerics - Technical Application Development
Assembly: ILNumerics.Toolboxes.Statistics (in ILNumerics.Toolboxes.Statistics.dll) Version: 5.5.0.0 (5.5.7503.3146)
Selects the k-th smallest element from an array along a specific dimension.
[ILNumerics Statistics Toolbox]
Namespace: ILNumerics.Toolboxes
Assembly: ILNumerics.Toolboxes.Statistics (in ILNumerics.Toolboxes.Statistics.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- A
- Type: ILNumericsInArrayfcomplex
Input array. - k
- Type: SystemInt32
The element to find. If k is smaller 1 or larger than the number of elements in list, the smallest/largest value will be returned. - dim (Optional)
- Type: SystemInt32
[Optional] Dimension to operate along. If omitted operates along the first non singleton dimension (i.e. != 1).
Return Value
Type: RetArrayfcomplexArray having the specified dimension reduced to the length 1 with the value of the k-the smallest element along that dimension.
Exception: If the selected dimension is of size 0 it will remain 0 (an empty set).
Remarks
[ILNumerics Statistics Toolbox]
See Also