  | NMathFunctionsCentralMoment(Int32, Int32) Method | 
            Calculates the specified central moment about the mean for the 
            the given data.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic static double CentralMoment(
	int[] data,
	int order
)
Public Shared Function CentralMoment ( 
	data As Integer(),
	order As Integer
) As Double
public:
static double CentralMoment(
	array<int>^ data, 
	int order
)
static member CentralMoment : 
        data : int[] * 
        order : int -> float Parameters
- data  Int32
 - An array of integers.
 - order  Int32
 - A moment (order).
 
Return Value
DoubleThe specified central moment.
Exceptions
Remarks
            The first central moment is equal to zero. The second central
            moment is the variance. The third central moment is the skewness.
            The fourth central moment is the kurtosis.
            
See Also