public class org.apache.commons.math.stat.descriptive.summary.SumOfSquares extends org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic implements java.io.Serializable
{
private static final long serialVersionUID;
private long n;
private double value;
public void <init>()
{
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v;
v := @this: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: long n> = 0L;
v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: double value> = 0.0;
return;
}
public void <init>(org.apache.commons.math.stat.descriptive.summary.SumOfSquares) throws org.apache.commons.math.exception.NullArgumentException
{
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v, v;
v := @this: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
v := @parameter: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic: void <init>()>();
staticinvoke <org.apache.commons.math.stat.descriptive.summary.SumOfSquares: void copy(org.apache.commons.math.stat.descriptive.summary.SumOfSquares,org.apache.commons.math.stat.descriptive.summary.SumOfSquares)>(v, v);
return;
}
public void increment(double)
{
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v;
long v, v;
double v, v, v, v;
v := @this: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
v := @parameter: double;
v = v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: double value>;
v = v * v;
v = v + v;
v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: double value> = v;
v = v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: long n>;
v = v + 1L;
v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: long n> = v;
return;
}
public double getResult()
{
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v;
double v;
v := @this: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
v = v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: double value>;
return v;
}
public long getN()
{
long v;
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v;
v := @this: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
v = v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: long n>;
return v;
}
public void clear()
{
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v;
v := @this: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: double value> = 0.0;
v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: long n> = 0L;
return;
}
public double evaluate(double[], int, int) throws org.apache.commons.math.exception.MathIllegalArgumentException
{
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v;
double[] v;
int v, v, v, v;
boolean v;
double v, v, v, v;
v := @this: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
v := @parameter: double[];
v := @parameter: int;
v := @parameter: int;
v = #NaN;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: boolean test(double[],int,int,boolean)>(v, v, v, 1);
if v == 0 goto label;
v = 0.0;
v = v;
label:
v = v + v;
if v >= v goto label;
v = v[v];
v = v[v];
v = v * v;
v = v + v;
v = v + 1;
goto label;
label:
return v;
}
public org.apache.commons.math.stat.descriptive.summary.SumOfSquares copy()
{
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v, v;
v := @this: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
v = new org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
specialinvoke v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: void <init>()>();
staticinvoke <org.apache.commons.math.stat.descriptive.summary.SumOfSquares: void copy(org.apache.commons.math.stat.descriptive.summary.SumOfSquares,org.apache.commons.math.stat.descriptive.summary.SumOfSquares)>(v, v);
return v;
}
public static void copy(org.apache.commons.math.stat.descriptive.summary.SumOfSquares, org.apache.commons.math.stat.descriptive.summary.SumOfSquares) throws org.apache.commons.math.exception.NullArgumentException
{
org.apache.commons.math.stat.descriptive.summary.SumOfSquares v, v;
double[] v;
long v;
double v;
v := @parameter: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
v := @parameter: org.apache.commons.math.stat.descriptive.summary.SumOfSquares;
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.summary.SumOfSquares: double[] getDataRef()>();
virtualinvoke v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: void setData(double[])>(v);
v = v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: long n>;
v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: long n> = v;
v = v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: double value>;
v.<org.apache.commons.math.stat.descriptive.summary.SumOfSquares: double value> = v;
return;
}
}