| NMathFunctionsMedian(FloatMatrix) Method |
Computes the median of each of the matrix columns.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatVector Median(
FloatMatrix A
)
Public Shared Function Median (
A As FloatMatrix
) As FloatVector
public:
static FloatVector^ Median(
FloatMatrix^ A
)
static member Median :
A : FloatMatrix -> FloatVector
Parameters
- A FloatMatrix
- A matrix.
Return Value
FloatVectorA vector.
Exceptions Remarks
Each column vector is sorted. If the vector has an odd number of
elements the middle number is used. Otherwise, the mean of
the two middle numbers is used.
See Also