| NMathFunctionsMean(FloatComplexVector) Method |
Calculates the mean of a given vector's elements.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatComplex Mean(
FloatComplexVector v
)
Public Shared Function Mean (
v As FloatComplexVector
) As FloatComplex
public:
static FloatComplex Mean(
FloatComplexVector^ v
)
static member Mean :
v : FloatComplexVector -> FloatComplex
Parameters
- v FloatComplexVector
- A vector.
Return Value
FloatComplexMean.
Exceptions Remarks mean = (v[0] + v[1] + ...) / n
See Also