IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Contains methods for converting between different kinds of moments. More...
Static Public Member Functions | |
static double[] | RawToCentral (double[] M) |
Converts raw moments to central moments. More... | |
static double[] | CentralToRaw (double mu, double[] C) |
Converts central moments to raw moments. More... | |
static double[] | CumulantToRaw (double[] K) |
Converts cumulants to raw moments. More... | |
static double[] | CumulantToCentral (double[] K) |
Converts cumulants to central moments. More... | |
static double[] | RawToCumulant (double[] M) |
Converts raw moments to cumulants. More... | |
static double[] | CentralToCumulant (double mu, double[] C) |
Converts central moments to cumulants. More... | |
Contains methods for converting between different kinds of moments.
|
inlinestatic |
Converts raw moments to central moments.
M | A set or raw moments. |
ArgumentNullException | M is null. |
ArgumentOutOfRangeException | The zeroth raw moment is not one. |
Referenced by Meta.Numerics.Statistics.Distributions.UnivariateDistribution.MomentAboutMean().
|
inlinestatic |
Converts central moments to raw moments.
mu | The mean. |
C | A set or central moments. |
ArgumentNullException | C is null. |
ArgumentOutOfRangeException | The zeroth central moment is not one, or the first central moment is not zero. |
Referenced by Test.DistributionTest.DistributionMomentTranslations(), Meta.Numerics.Statistics.Distributions.NormalDistribution.Moment(), Meta.Numerics.Statistics.Distributions.LogisticDistribution.Moment(), and FutureTest.FutureTest.TestCumulant2().
|
inlinestatic |
Converts cumulants to raw moments.
K | A set or cumulants. |
ArgumentNullException | K is null. |
ArgumentOutOfRangeException | The zeroth cumulant is not zero. |
Referenced by FutureTest.FutureTest.CumulantTest(), Test.UnivariateDistributionTest.CumulantToCentralAndRaw(), and FutureTest.FutureTest.TestCumulant2().
|
inlinestatic |
Converts cumulants to central moments.
K | A set or cumulants. |
ArgumentNullException | K is null. |
ArgumentOutOfRangeException | The zeroth cumulant is not zero. |
Referenced by FutureTest.FutureTest.CumulantTest(), Test.UnivariateDistributionTest.CumulantToCentralAndRaw(), and FutureTest.FutureTest.TestCumulant2().
|
inlinestatic |
Converts raw moments to cumulants.
M | A set of raw moments. |
ArgumentNullException | M is null. |
ArgumentOutOfRangeException | The zeroth raw moment is not one. |
References Meta.Numerics.Functions.AdvancedIntegerMath.BinomialCoefficient().
Referenced by FutureTest.FutureTest.CumulantTest().
|
inlinestatic |
Converts central moments to cumulants.
mu | The mean. |
C | A set of central moments. |
ArgumentNullException | C is null. |
ArgumentOutOfRangeException | The zeroth central moment is not one, or the first central moment is not zero. |
References Meta.Numerics.Functions.AdvancedIntegerMath.BinomialCoefficient().
Referenced by Meta.Numerics.Statistics.Distributions.UnivariateDistribution.Cumulant(), and FutureTest.FutureTest.TestCumulant2().