| NMathFunctionsNaNMedian(DoubleMatrix) Method |
Computes the NaN median of each of the matrix columns.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector NaNMedian(
DoubleMatrix A
)
Public Shared Function NaNMedian (
A As DoubleMatrix
) As DoubleVector
public:
static DoubleVector^ NaNMedian(
DoubleMatrix^ A
)
static member NaNMedian :
A : DoubleMatrix -> DoubleVector
Parameters
- A DoubleMatrix
- A matrix.
Return Value
DoubleVectorA vector.
Exceptions Remarks
Each column vector's non-NaN numbers are sorted. If the vector has
an odd number of elements the middle number is used. Otherwise, the
mean of the two middle numbers is returned.
See Also