Computes the NaN mean of each of the matrix columns.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleVector NaNMean( DoubleMatrix A ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function NaNMean ( _ A As DoubleMatrix _ ) As DoubleVector |
| Visual C++ |
|---|
public: static DoubleVector^ NaNMean( DoubleMatrix^ A ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.
Return Value
A vector.
Remarks
v[j] = (A[0,j] + A[1,j] + ... A[i,j]) / i
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if A has zero rows. |