Click or drag to resize

NMathFunctionsSumOfSquares(DoubleComplexVector) Method

Calculates the sum of the squared deviations from the mean of the elements of a given vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleComplex SumOfSquares(
	DoubleComplexVector v
)

Parameters

v  DoubleComplexVector
A vector.

Return Value

DoubleComplex
The sum of the squared deviations from the mean of the elements of v.
Remarks
C#
s = (v[0] - mean)^2 + (v[1] - mean)^2 ... + (v[n] - mean)^2
See Also