public class oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl extends java.lang.Object implements oadd.org.apache.commons.math.stat.inference.UnknownDistributionChiSquareTest
{
private oadd.org.apache.commons.math.distribution.ChiSquaredDistribution distribution;
public void <init>()
{
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
oadd.org.apache.commons.math.distribution.ChiSquaredDistributionImpl v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v = new oadd.org.apache.commons.math.distribution.ChiSquaredDistributionImpl;
specialinvoke v.<oadd.org.apache.commons.math.distribution.ChiSquaredDistributionImpl: void <init>(double)>(1.0);
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void <init>(oadd.org.apache.commons.math.distribution.ChiSquaredDistribution)>(v);
return;
}
public void <init>(oadd.org.apache.commons.math.distribution.ChiSquaredDistribution)
{
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
oadd.org.apache.commons.math.distribution.ChiSquaredDistribution v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution;
specialinvoke v.<java.lang.Object: void <init>()>();
virtualinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void setDistribution(oadd.org.apache.commons.math.distribution.ChiSquaredDistribution)>(v);
return;
}
public double chiSquare(double[], long[]) throws java.lang.IllegalArgumentException
{
java.lang.Integer v, v, v, v;
byte v;
boolean v;
java.lang.Object[] v, v;
double[] v;
long v, v, v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v;
int v, v, v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v, v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.IllegalArgumentException v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: double[];
v := @parameter: long[];
v = lengthof v;
if v >= 2 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats INSUFFICIENT_DIMENSION>;
v = newarray (java.lang.Object)[2];
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(2);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = lengthof v;
v = lengthof v;
if v == v goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats DIMENSIONS_MISMATCH_SIMPLE>;
v = newarray (java.lang.Object)[2];
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void checkPositive(double[])>(v);
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void checkNonNegative(long[])>(v);
v = 0.0;
v = 0.0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v + v;
v = v[v];
v = v + v;
v = v + 1;
goto label;
label:
v = 1.0;
v = 0;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
v = v cmpl 1.0E-5;
if v <= 0 goto label;
v = v / v;
v = 1;
label:
v = 0.0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
if v == 0 goto label;
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 + v;
goto label;
label:
v = v[v];
v = v[v];
v = v - v;
v = v * v;
v = v[v];
v = v / v;
v = v + v;
label:
v = v + 1;
goto label;
label:
return v;
}
public double chiSquareTest(double[], long[]) throws java.lang.IllegalArgumentException, oadd.org.apache.commons.math.MathException
{
double[] v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
oadd.org.apache.commons.math.distribution.ChiSquaredDistribution v, v;
long[] v;
int v;
double v, v, v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: double[];
v := @parameter: long[];
v = v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution distribution>;
v = lengthof v;
v = v - 1.0;
interfaceinvoke v.<oadd.org.apache.commons.math.distribution.ChiSquaredDistribution: void setDegreesOfFreedom(double)>(v);
v = v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution distribution>;
v = virtualinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: double chiSquare(double[],long[])>(v, v);
v = interfaceinvoke v.<oadd.org.apache.commons.math.distribution.ChiSquaredDistribution: double cumulativeProbability(double)>(v);
v = 1.0 - v;
return v;
}
public boolean chiSquareTest(double[], long[], double) throws java.lang.IllegalArgumentException, oadd.org.apache.commons.math.MathException
{
java.lang.Object[] v;
java.lang.Double v, v;
double[] v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v;
byte v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
boolean v;
double v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: double[];
v := @parameter: long[];
v := @parameter: double;
v = v cmpg 0.0;
if v <= 0 goto label;
v = v cmpl 0.5;
if v <= 0 goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OUT_OF_BOUND_SIGNIFICANCE_LEVEL>;
v = newarray (java.lang.Object)[3];
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(0);
v[1] = v;
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(0.5);
v[2] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = virtualinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: double chiSquareTest(double[],long[])>(v, v);
v = v cmpg v;
if v >= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public double chiSquare(long[][]) throws java.lang.IllegalArgumentException
{
double[] v, v;
long v, v, v, v, v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v, v, v, v, v, v;
int v, v, v, v, v, v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v;
long[][] v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[][];
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void checkArray(long[][])>(v);
v = lengthof v;
v = v[0];
v = lengthof v;
v = newarray (double)[v];
v = newarray (double)[v];
v = 0.0;
v = 0;
label:
if v >= v goto label;
v = 0;
label:
if v >= v goto label;
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 + v;
v[v] = v;
v = v[v];
v = v[v];
v = v + v;
v = v + 1;
goto label;
label:
v = v + 1;
goto label;
label:
v = 0.0;
v = 0;
label:
if v >= v goto label;
v = 0;
label:
if v >= v goto label;
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[v];
v = v - v;
v = v * v;
v = v / v;
v = v + v;
v = v + 1;
goto label;
label:
v = v + 1;
goto label;
label:
return v;
}
public double chiSquareTest(long[][]) throws java.lang.IllegalArgumentException, oadd.org.apache.commons.math.MathException
{
long[][] v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
oadd.org.apache.commons.math.distribution.ChiSquaredDistribution v, v;
long[] v;
int v, v;
double v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[][];
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void checkArray(long[][])>(v);
v = lengthof v;
v = v - 1.0;
v = v[0];
v = lengthof v;
v = v - 1.0;
v = v * v;
v = v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution distribution>;
interfaceinvoke v.<oadd.org.apache.commons.math.distribution.ChiSquaredDistribution: void setDegreesOfFreedom(double)>(v);
v = v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution distribution>;
v = virtualinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: double chiSquare(long[][])>(v);
v = interfaceinvoke v.<oadd.org.apache.commons.math.distribution.ChiSquaredDistribution: double cumulativeProbability(double)>(v);
v = 1.0 - v;
return v;
}
public boolean chiSquareTest(long[][], double) throws java.lang.IllegalArgumentException, oadd.org.apache.commons.math.MathException
{
long[][] v;
java.lang.Object[] v;
java.lang.Double v, v, v;
java.lang.IllegalArgumentException v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
byte v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
boolean v;
double v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[][];
v := @parameter: double;
v = v cmpg 0.0;
if v <= 0 goto label;
v = v cmpl 0.5;
if v <= 0 goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OUT_OF_BOUND_SIGNIFICANCE_LEVEL>;
v = newarray (java.lang.Object)[3];
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v[0] = v;
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(0.0);
v[1] = v;
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(0.5);
v[2] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = virtualinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: double chiSquareTest(long[][])>(v);
v = v cmpg v;
if v >= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public double chiSquareDataSetsComparison(long[], long[]) throws java.lang.IllegalArgumentException
{
java.lang.Integer v, v, v, v, v, v, v;
byte v, v, v, v, v;
boolean v, v;
java.lang.Object[] v, v, v, v, v;
long v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v, v;
int v, v, v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v, v, v, v, v;
double v, v, v, v, v, v, v, v, v;
java.lang.IllegalArgumentException v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[];
v := @parameter: long[];
v = lengthof v;
if v >= 2 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats INSUFFICIENT_DIMENSION>;
v = newarray (java.lang.Object)[2];
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(2);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = lengthof v;
v = lengthof v;
if v == v goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats DIMENSIONS_MISMATCH_SIMPLE>;
v = newarray (java.lang.Object)[2];
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void checkNonNegative(long[])>(v);
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void checkNonNegative(long[])>(v);
v = 0L;
v = 0L;
v = 0.0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v + v;
v = v[v];
v = v + v;
v = v + 1;
goto label;
label:
v = v cmp 0L;
if v != 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OBSERVED_COUNTS_ALL_ZERO>;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(1);
v[0] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v cmp 0L;
if v != 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OBSERVED_COUNTS_ALL_ZERO>;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(2);
v[0] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v cmp v;
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = v;
if v == 0 goto label;
v = v / v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double sqrt(double)>(v);
label:
v = 0.0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v cmp 0L;
if v != 0 goto label;
v = v[v];
v = v cmp 0L;
if v != 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OBSERVED_COUNTS_BOTTH_ZERO_FOR_ENTRY>;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v[v];
v = v[v];
if v == 0 goto label;
v = v / v;
v = v * v;
v = v - v;
goto label;
label:
v = v - v;
label:
v = v * v;
v = v + v;
v = v / v;
v = v + v;
v = v + 1;
goto label;
label:
return v;
}
public double chiSquareTestDataSetsComparison(long[], long[]) throws java.lang.IllegalArgumentException, oadd.org.apache.commons.math.MathException
{
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
oadd.org.apache.commons.math.distribution.ChiSquaredDistribution v, v;
long[] v, v;
int v;
double v, v, v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[];
v := @parameter: long[];
v = v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution distribution>;
v = lengthof v;
v = v - 1.0;
interfaceinvoke v.<oadd.org.apache.commons.math.distribution.ChiSquaredDistribution: void setDegreesOfFreedom(double)>(v);
v = v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution distribution>;
v = virtualinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: double chiSquareDataSetsComparison(long[],long[])>(v, v);
v = interfaceinvoke v.<oadd.org.apache.commons.math.distribution.ChiSquaredDistribution: double cumulativeProbability(double)>(v);
v = 1.0 - v;
return v;
}
public boolean chiSquareTestDataSetsComparison(long[], long[], double) throws java.lang.IllegalArgumentException, oadd.org.apache.commons.math.MathException
{
java.lang.Object[] v;
java.lang.Double v, v, v;
java.lang.IllegalArgumentException v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v, v;
byte v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
boolean v;
double v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[];
v := @parameter: long[];
v := @parameter: double;
v = v cmpg 0.0;
if v <= 0 goto label;
v = v cmpl 0.5;
if v <= 0 goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OUT_OF_BOUND_SIGNIFICANCE_LEVEL>;
v = newarray (java.lang.Object)[3];
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v[0] = v;
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(0.0);
v[1] = v;
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(0.5);
v[2] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = virtualinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: double chiSquareTestDataSetsComparison(long[],long[])>(v, v);
v = v cmpg v;
if v >= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
private void checkArray(long[][]) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v, v;
java.lang.Integer v, v, v, v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v, v;
int v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v, v;
long[][] v;
java.lang.IllegalArgumentException v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[][];
v = lengthof v;
if v >= 2 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats INSUFFICIENT_DIMENSION>;
v = newarray (java.lang.Object)[2];
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(2);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v[0];
v = lengthof v;
if v >= 2 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats INSUFFICIENT_DIMENSION>;
v = newarray (java.lang.Object)[2];
v = v[0];
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(2);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void checkRectangular(long[][])>(v);
specialinvoke v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: void checkNonNegative(long[][])>(v);
return;
}
private void checkRectangular(long[][])
{
java.lang.Object[] v;
java.lang.Integer v, v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v, v, v, v;
int v, v, v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
long[][] v;
java.lang.IllegalArgumentException v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[][];
v = 1;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = lengthof v;
v = v[0];
v = lengthof v;
if v == v goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats DIFFERENT_ROWS_LENGTHS>;
v = newarray (java.lang.Object)[2];
v = v[v];
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = v[0];
v = lengthof v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v + 1;
goto label;
label:
return;
}
private void checkPositive(double[]) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
java.lang.Double v;
double[] v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
byte v;
int v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
double v, v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: double[];
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v cmpg 0.0;
if v > 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats NOT_POSITIVE_ELEMENT_AT_INDEX>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = v[v];
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v + 1;
goto label;
label:
return;
}
private void checkNonNegative(long[]) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
long v, v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v;
byte v;
java.lang.Long v;
int v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[];
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v cmp 0L;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats NEGATIVE_ELEMENT_AT_INDEX>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = v[v];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v + 1;
goto label;
label:
return;
}
private void checkNonNegative(long[][]) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
long v, v;
java.lang.Integer v, v;
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
long[] v, v, v;
byte v;
java.lang.Long v;
int v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
long[][] v;
java.lang.IllegalArgumentException v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: long[][];
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = 0;
label:
v = v[v];
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = v cmp 0L;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats NEGATIVE_ELEMENT_AT_2D_INDEX>;
v = newarray (java.lang.Object)[3];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = v[v];
v = v[v];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[2] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v + 1;
goto label;
label:
v = v + 1;
goto label;
label:
return;
}
public void setDistribution(oadd.org.apache.commons.math.distribution.ChiSquaredDistribution)
{
oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl v;
oadd.org.apache.commons.math.distribution.ChiSquaredDistribution v;
v := @this: oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl;
v := @parameter: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution;
v.<oadd.org.apache.commons.math.stat.inference.ChiSquareTestImpl: oadd.org.apache.commons.math.distribution.ChiSquaredDistribution distribution> = v;
return;
}
}