Click or drag to resize

NMathFunctionsSumOfSquaredErrors(DoubleVector) Method

Calculates the sum of squared errors (SSE) of the elements in the given data set.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double SumOfSquaredErrors(
	DoubleVector data
)

Parameters

data  DoubleVector
A vector.

Return Value

Double
Sum of squared errors (SSE).
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data has a length of zero.
See Also