MomentMathCentralToRaw Method

Converts central moments to raw moments.

Definition

Namespace: Meta.Numerics.Statistics.Distributions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double[] CentralToRaw(
	double mu,
	double[] C
)

Parameters

mu  Double
The mean.
C  Double
A set of central moments.

Return Value

Double
The corresponding set of central moments.

Exceptions

ArgumentNullExceptionC is null.
ArgumentOutOfRangeExceptionThe zeroth central moment is not one, or the first central moment is not zero.

See Also