| NMathFunctionsSumOfSquares(FloatComplexVector) Method |
Calculates the sum of the squared deviations from the mean of the elements
of a given vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatComplex SumOfSquares(
FloatComplexVector v
)
Public Shared Function SumOfSquares (
v As FloatComplexVector
) As FloatComplex
public:
static FloatComplex SumOfSquares(
FloatComplexVector^ v
)
static member SumOfSquares :
v : FloatComplexVector -> FloatComplex
Parameters
- v FloatComplexVector
- A vector.
Return Value
FloatComplex
The sum of the squared deviations from the mean of the elements of
v.
Remarks s = (v[0] - mean)^2 + (v[1] - mean)^2 ... + (v[n] - mean)^2
See Also