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