ILNumerics Ultimate VS

Statisticsmedian Method (InArrayDouble, Int32)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Calculates median along the specified 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

public static RetArray<double> median(
	InArray<double> A,
	int dim = -1
)

Parameters

A
Type: ILNumericsInArrayDouble
Input Array.
dim (Optional)
Type: SystemInt32

Return Value

Type: RetArrayDouble

Array having the specified dimension reduced to the length 1 with the median of all elements along that dimension.

[Optional] Index of dimension to operate along. If omitted operates along the first non singleton dimension (i.e. != 1).

The result will have the same number of dimensions as A, but the specified dimension will have the size 1.

If the specified dimension of A is empty, the median along that dimension will be NaN and that dimension will be 1.

Remarks

[ILNumerics Statistics Toolbox]

See Also

Reference