ILNumerics Ultimate VS

Statisticsnanmean Method (InArraycomplex, Int32)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Mean of array along specified dimension ignoring NaN values.

[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<complex> nanmean(
	InArray<complex> A,
	int dim = -1
)

Parameters

A
Type: ILNumericsInArraycomplex
Input array.
dim (Optional)
Type: SystemInt32
[Optional] Index of the dimension to work along. If omitted operates along the first non singleton dimension (i.e. != 1).

Return Value

Type: RetArraycomplex
Mean of non-NaN elements along specified dimension.
Remarks

The return array has the same shape as A, but the selected dimension is reduced to length 1. If A is scalar, an scalar array will be returned. On empty input, the output will be empty.

If A contains an all NaN vector along the specified dimension the resulting value will by NaN (as the nansum of these elements is 0 divided by 0 elements).

[ILNumerics Statistics Toolbox]

See Also

Reference