- MathProbabilityDensityCauchy
- MathCumulativeDistributionCauchy
- MathQuantileCauchy
- MathRandomCauchy
- MathMomentsCauchy
MathMomentsCauchy
Calculates the theoretical numerical values of the first 4 moments of the Cauchy distribution with the a and b parameters.
double MathMomentsCauchy(
|
Parameters
a
[in] mean parameter of the distribution.
b
[in] scale parameter of the distribution.
mean
[out] Variable to get the mean value.
variance
[out] Variable to get the variance.
skewness
[out] Variable to get the skewness.
kurtosis
[out] Variable to get the kurtosis.
error_code
[out] Variable to get the error code.
Return Value
Returns true if calculation of the moments has been successful, otherwise false.