Computes the mean of each of the matrix columns.

Namespace: CenterSpace.NMath.Core
Assembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0

Syntax

C#
public static FloatComplexVector Mean(
	FloatComplexMatrix A
)
Visual Basic
Public Shared Function Mean ( _
	A As FloatComplexMatrix _
) As FloatComplexVector
Visual C++
public:
static FloatComplexVector^ Mean(
	FloatComplexMatrix^ A
)

Return Value

A vector.

Remarks

v[j] = (A[0,j] + A[1,j] + ... A[i,j]) / i

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::..InvalidArgumentException Thrown if A has zero rows.

See Also