class org.apache.commons.math.stat.descriptive.moment.FirstMoment extends org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic implements java.io.Serializable
{
private static final long serialVersionUID;
protected long n;
protected double m;
protected double dev;
protected double nDev;
public void <init>()
{
org.apache.commons.math.stat.descriptive.moment.FirstMoment v;
v := @this: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n> = 0L;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1> = #NaN;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double dev> = #NaN;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double nDev> = #NaN;
return;
}
public void <init>(org.apache.commons.math.stat.descriptive.moment.FirstMoment) throws org.apache.commons.math.exception.NullArgumentException
{
org.apache.commons.math.stat.descriptive.moment.FirstMoment v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic: void <init>()>();
staticinvoke <org.apache.commons.math.stat.descriptive.moment.FirstMoment: void copy(org.apache.commons.math.stat.descriptive.moment.FirstMoment,org.apache.commons.math.stat.descriptive.moment.FirstMoment)>(v, v);
return;
}
public void increment(double)
{
long v, v, v, v;
org.apache.commons.math.stat.descriptive.moment.FirstMoment v;
byte v;
double v, v, v, v, v, v, v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
v := @parameter: double;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n>;
v = v cmp 0L;
if v != 0 goto label;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1> = 0.0;
label:
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n>;
v = v + 1L;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n> = v;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n>;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1>;
v = v - v;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double dev> = v;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double dev>;
v = v / v;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double nDev> = v;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1>;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double nDev>;
v = v + v;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1> = v;
return;
}
public void clear()
{
org.apache.commons.math.stat.descriptive.moment.FirstMoment v;
v := @this: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1> = #NaN;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n> = 0L;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double dev> = #NaN;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double nDev> = #NaN;
return;
}
public double getResult()
{
double v;
org.apache.commons.math.stat.descriptive.moment.FirstMoment v;
v := @this: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1>;
return v;
}
public long getN()
{
long v;
org.apache.commons.math.stat.descriptive.moment.FirstMoment v;
v := @this: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n>;
return v;
}
public org.apache.commons.math.stat.descriptive.moment.FirstMoment copy()
{
org.apache.commons.math.stat.descriptive.moment.FirstMoment v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
v = new org.apache.commons.math.stat.descriptive.moment.FirstMoment;
specialinvoke v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: void <init>()>();
staticinvoke <org.apache.commons.math.stat.descriptive.moment.FirstMoment: void copy(org.apache.commons.math.stat.descriptive.moment.FirstMoment,org.apache.commons.math.stat.descriptive.moment.FirstMoment)>(v, v);
return v;
}
public static void copy(org.apache.commons.math.stat.descriptive.moment.FirstMoment, org.apache.commons.math.stat.descriptive.moment.FirstMoment) throws org.apache.commons.math.exception.NullArgumentException
{
double[] v;
long v;
double v, v, v;
org.apache.commons.math.stat.descriptive.moment.FirstMoment v, v;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.FirstMoment;
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.FirstMoment: double[] getDataRef()>();
virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: void setData(double[])>(v);
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n>;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: long n> = v;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1>;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double m1> = v;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double dev>;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double dev> = v;
v = v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double nDev>;
v.<org.apache.commons.math.stat.descriptive.moment.FirstMoment: double nDev> = v;
return;
}
}