MomentMathRawToCentral Method
Converts raw moments to central moments.
Namespace: Meta.Numerics.Statistics.DistributionsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
public static double[] RawToCentral(
double[] M
)
Public Shared Function RawToCentral (
M As Double()
) As Double()
public:
static array<double>^ RawToCentral(
array<double>^ M
)
static member RawToCentral :
M : float[] -> float[]
- M Double
- A set of raw moments.
DoubleThe corresponding set of central moments.
The computation of central moments from raw moments is often subject
to significant cancellation errors, so you should be wary of the higher
digits of central moments returned by this method.