Returns the specified raw moment of the elements of an array.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function Moment ( _
	data As Double(), _
	degree As Integer _
) As Double
C#
public static double Moment (
	double[] data,
	int degree
)
C++
public:
static double Moment (
	array<double>^ data, 
	int degree
)

Parameters

data ()
A Double array.
degree (System.Int32)
The degree of the moment.

Return Value

The raw moment of degree degree of the elements of data.

Exceptions

ExceptionCondition
ArgumentNullExceptiondata is nullNothingnullptr.