Returns the specified central moment of the elements of an array.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function CentralMoment ( _
data As Integer(), _
degree As Integer _
) As Double |
| C# |
|---|
public static double CentralMoment (
int[] data,
int degree
) |
| C++ |
|---|
public:
static double CentralMoment (
array<int>^ data,
int degree
) |
Parameters
- data ()
- An Int32 array.
- degree (System.Int32)
- The degree of the moment.
Return Value
The central moment of degree
degree of the elements of
data.
Exceptions