Click or drag to resize

NMathFunctionsSumOfSquaredErrors(Int32) 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(
	int[] data
)

Parameters

data  Int32
An array of integers.

Return Value

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