public class org.apache.commons.math.stat.descriptive.moment.Kurtosis extends org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic implements java.io.Serializable
{
private static final long serialVersionUID;
protected org.apache.commons.math.stat.descriptive.moment.FourthMoment moment;
protected boolean incMoment;
public void <init>()
{
org.apache.commons.math.stat.descriptive.moment.FourthMoment v;
org.apache.commons.math.stat.descriptive.moment.Kurtosis v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: boolean incMoment> = 1;
v = new org.apache.commons.math.stat.descriptive.moment.FourthMoment;
specialinvoke v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment> = v;
return;
}
public void <init>(org.apache.commons.math.stat.descriptive.moment.FourthMoment)
{
org.apache.commons.math.stat.descriptive.moment.FourthMoment v;
org.apache.commons.math.stat.descriptive.moment.Kurtosis v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.FourthMoment;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: boolean incMoment> = 0;
v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment> = v;
return;
}
public void <init>(org.apache.commons.math.stat.descriptive.moment.Kurtosis) throws org.apache.commons.math.exception.NullArgumentException
{
org.apache.commons.math.stat.descriptive.moment.Kurtosis v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic: void <init>()>();
staticinvoke <org.apache.commons.math.stat.descriptive.moment.Kurtosis: void copy(org.apache.commons.math.stat.descriptive.moment.Kurtosis,org.apache.commons.math.stat.descriptive.moment.Kurtosis)>(v, v);
return;
}
public void increment(double)
{
org.apache.commons.math.stat.descriptive.moment.FourthMoment v;
org.apache.commons.math.stat.descriptive.moment.Kurtosis v;
boolean v;
double v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v := @parameter: double;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: boolean incMoment>;
if v == 0 goto label;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: void increment(double)>(v);
label:
return;
}
public double getResult()
{
byte v, v, v;
long v, v, v, v, v;
org.apache.commons.math.stat.descriptive.moment.FourthMoment v, v, v, v, v, v, v, v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.commons.math.stat.descriptive.moment.Kurtosis v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v = #NaN;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: long getN()>();
v = v cmp 3L;
if v <= 0 goto label;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: double m2>;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: long n>;
v = v - 1L;
v = v / v;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: long n>;
v = v cmp 3L;
if v <= 0 goto label;
v = v cmpg 1.0E-19;
if v >= 0 goto label;
label:
v = 0.0;
goto label;
label:
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: long n>;
v = v + 1.0;
v = v * v;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: double getResult()>();
v = v * v;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: double m2>;
v = 3.0 * v;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: double m2>;
v = v * v;
v = v - 1.0;
v = v * v;
v = v - v;
v = v - 1.0;
v = v - 2.0;
v = v * v;
v = v - 3.0;
v = v * v;
v = v * v;
v = v * v;
v = v / v;
label:
return v;
}
public void clear()
{
org.apache.commons.math.stat.descriptive.moment.FourthMoment v;
boolean v;
org.apache.commons.math.stat.descriptive.moment.Kurtosis v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: boolean incMoment>;
if v == 0 goto label;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: void clear()>();
label:
return;
}
public long getN()
{
long v;
org.apache.commons.math.stat.descriptive.moment.FourthMoment v;
org.apache.commons.math.stat.descriptive.moment.Kurtosis v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: long getN()>();
return v;
}
public double evaluate(double[], int, int) throws org.apache.commons.math.exception.MathIllegalArgumentException
{
boolean v;
org.apache.commons.math.stat.descriptive.moment.Variance v;
double[] v;
int v, v, v, v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.commons.math.stat.descriptive.moment.Kurtosis v;
org.apache.commons.math.stat.descriptive.moment.SecondMoment v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v := @parameter: double[];
v := @parameter: int;
v := @parameter: int;
v = #NaN;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: boolean test(double[],int,int)>(v, v, v);
if v == 0 goto label;
if v <= 3 goto label;
v = new org.apache.commons.math.stat.descriptive.moment.Variance;
specialinvoke v.<org.apache.commons.math.stat.descriptive.moment.Variance: void <init>()>();
virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.Variance: void incrementAll(double[],int,int)>(v, v, v);
v = v.<org.apache.commons.math.stat.descriptive.moment.Variance: org.apache.commons.math.stat.descriptive.moment.SecondMoment moment>;
v = v.<org.apache.commons.math.stat.descriptive.moment.SecondMoment: double m1>;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.Variance: double getResult()>();
v = staticinvoke <org.apache.commons.math.util.FastMath: double sqrt(double)>(v);
v = 0.0;
v = v;
label:
v = v + v;
if v >= v goto label;
v = v[v];
v = v - v;
v = staticinvoke <org.apache.commons.math.util.FastMath: double pow(double,double)>(v, 4.0);
v = v + v;
v = v + 1;
goto label;
label:
v = staticinvoke <org.apache.commons.math.util.FastMath: double pow(double,double)>(v, 4.0);
v = v / v;
v = v + 1.0;
v = v * v;
v = v - 1.0;
v = v - 2.0;
v = v * v;
v = v - 3.0;
v = v * v;
v = v / v;
v = v - 1.0;
v = staticinvoke <org.apache.commons.math.util.FastMath: double pow(double,double)>(v, 2.0);
v = 3.0 * v;
v = v - 2.0;
v = v - 3.0;
v = v * v;
v = v / v;
v = v * v;
v = v - v;
label:
return v;
}
public org.apache.commons.math.stat.descriptive.moment.Kurtosis copy()
{
org.apache.commons.math.stat.descriptive.moment.Kurtosis v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v = new org.apache.commons.math.stat.descriptive.moment.Kurtosis;
specialinvoke v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: void <init>()>();
staticinvoke <org.apache.commons.math.stat.descriptive.moment.Kurtosis: void copy(org.apache.commons.math.stat.descriptive.moment.Kurtosis,org.apache.commons.math.stat.descriptive.moment.Kurtosis)>(v, v);
return v;
}
public static void copy(org.apache.commons.math.stat.descriptive.moment.Kurtosis, org.apache.commons.math.stat.descriptive.moment.Kurtosis) throws org.apache.commons.math.exception.NullArgumentException
{
org.apache.commons.math.stat.descriptive.moment.FourthMoment v, v;
org.apache.commons.math.stat.descriptive.moment.Kurtosis v, v;
double[] v;
boolean v;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.Kurtosis;
staticinvoke <org.apache.commons.math.util.MathUtils: void checkNotNull(java.lang.Object)>(v);
staticinvoke <org.apache.commons.math.util.MathUtils: void checkNotNull(java.lang.Object)>(v);
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: double[] getDataRef()>();
virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: void setData(double[])>(v);
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment>;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.FourthMoment: org.apache.commons.math.stat.descriptive.moment.FourthMoment copy()>();
v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: org.apache.commons.math.stat.descriptive.moment.FourthMoment moment> = v;
v = v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: boolean incMoment>;
v.<org.apache.commons.math.stat.descriptive.moment.Kurtosis: boolean incMoment> = v;
return;
}
}