public class org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest
super_class: java.lang.Object
{
protected static final int MAXIMUM_PARTIAL_SUM_COUNT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 100000
protected static final double KS_SUM_CAUCHY_CRITERION;
descriptor: D
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1.0E-20
protected static final double PG_SUM_RELATIVE_ERROR;
descriptor: D
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1.0E-10
protected static final int SMALL_SAMPLE_PRODUCT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 200
RuntimeVisibleAnnotations:
java.lang.Deprecated()
protected static final int LARGE_SAMPLE_PRODUCT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 10000
protected static final int MONTE_CARLO_ITERATIONS;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1000000
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private final org.apache.commons.math3.random.RandomGenerator rng;
descriptor: Lorg/apache/commons/math3/random/RandomGenerator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
0: .line 154
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 155
aload 0 /* this */
new org.apache.commons.math3.random.Well19937c
dup
invokespecial org.apache.commons.math3.random.Well19937c.<init>:()V
putfield org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.rng:Lorg/apache/commons/math3/random/RandomGenerator;
2: .line 156
return
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
public void <init>(org.apache.commons.math3.random.RandomGenerator);
descriptor: (Lorg/apache/commons/math3/random/RandomGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // org.apache.commons.math3.random.RandomGenerator rng
0: .line 166
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 167
aload 0 /* this */
aload 1 /* rng */
putfield org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.rng:Lorg/apache/commons/math3/random/RandomGenerator;
2: .line 168
return
end local 1 // org.apache.commons.math3.random.RandomGenerator rng
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 3 1 rng Lorg/apache/commons/math3/random/RandomGenerator;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
rng
public double kolmogorovSmirnovTest(org.apache.commons.math3.distribution.RealDistribution, double[], boolean);
descriptor: (Lorg/apache/commons/math3/distribution/RealDistribution;[DZ)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // org.apache.commons.math3.distribution.RealDistribution distribution
start local 2 // double[] data
start local 3 // boolean exact
0: .line 186
dconst_1
aload 0 /* this */
aload 0 /* this */
aload 1 /* distribution */
aload 2 /* data */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.kolmogorovSmirnovStatistic:(Lorg/apache/commons/math3/distribution/RealDistribution;[D)D
aload 2 /* data */
arraylength
iload 3 /* exact */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.cdf:(DIZ)D
dsub
dreturn
end local 3 // boolean exact
end local 2 // double[] data
end local 1 // org.apache.commons.math3.distribution.RealDistribution distribution
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 1 1 distribution Lorg/apache/commons/math3/distribution/RealDistribution;
0 1 2 data [D
0 1 3 exact Z
MethodParameters:
Name Flags
distribution
data
exact
public double kolmogorovSmirnovStatistic(org.apache.commons.math3.distribution.RealDistribution, double[]);
descriptor: (Lorg/apache/commons/math3/distribution/RealDistribution;[D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // org.apache.commons.math3.distribution.RealDistribution distribution
start local 2 // double[] data
0: .line 202
aload 0 /* this */
aload 2 /* data */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.checkArray:([D)V
1: .line 203
aload 2 /* data */
arraylength
istore 3 /* n */
start local 3 // int n
2: .line 204
iload 3 /* n */
i2d
dstore 4 /* nd */
start local 4 // double nd
3: .line 205
iload 3 /* n */
newarray 7
astore 6 /* dataCopy */
start local 6 // double[] dataCopy
4: .line 206
aload 2 /* data */
iconst_0
aload 6 /* dataCopy */
iconst_0
iload 3 /* n */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: .line 207
aload 6 /* dataCopy */
invokestatic java.util.Arrays.sort:([D)V
6: .line 208
dconst_0
dstore 7 /* d */
start local 7 // double d
7: .line 209
iconst_1
istore 9 /* i */
start local 9 // int i
8: goto 14
9: .line 210
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest org.apache.commons.math3.distribution.RealDistribution double[] int double double[] double int
StackMap stack:
aload 1 /* distribution */
aload 6 /* dataCopy */
iload 9 /* i */
iconst_1
isub
daload
invokeinterface org.apache.commons.math3.distribution.RealDistribution.cumulativeProbability:(D)D
dstore 10 /* yi */
start local 10 // double yi
10: .line 211
dload 10 /* yi */
iload 9 /* i */
iconst_1
isub
i2d
dload 4 /* nd */
ddiv
dsub
iload 9 /* i */
i2d
dload 4 /* nd */
ddiv
dload 10 /* yi */
dsub
invokestatic org.apache.commons.math3.util.FastMath.max:(DD)D
dstore 12 /* currD */
start local 12 // double currD
11: .line 212
dload 12 /* currD */
dload 7 /* d */
dcmpl
ifle 13
12: .line 213
dload 12 /* currD */
dstore 7 /* d */
end local 12 // double currD
end local 10 // double yi
13: .line 209
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
14: iload 9 /* i */
iload 3 /* n */
if_icmple 9
end local 9 // int i
15: .line 216
dload 7 /* d */
dreturn
end local 7 // double d
end local 6 // double[] dataCopy
end local 4 // double nd
end local 3 // int n
end local 2 // double[] data
end local 1 // org.apache.commons.math3.distribution.RealDistribution distribution
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 16 1 distribution Lorg/apache/commons/math3/distribution/RealDistribution;
0 16 2 data [D
2 16 3 n I
3 16 4 nd D
4 16 6 dataCopy [D
7 16 7 d D
8 15 9 i I
10 13 10 yi D
11 13 12 currD D
MethodParameters:
Name Flags
distribution
data
public double kolmogorovSmirnovTest(double[], double[], boolean);
descriptor: ([D[DZ)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=4
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double[] x
start local 2 // double[] y
start local 3 // boolean strict
0: .line 257
aload 1 /* x */
arraylength
i2l
aload 2 /* y */
arraylength
i2l
lmul
lstore 4 /* lengthProduct */
start local 4 // long lengthProduct
1: .line 258
aconst_null
astore 6 /* xa */
start local 6 // double[] xa
2: .line 259
aconst_null
astore 7 /* ya */
start local 7 // double[] ya
3: .line 260
lload 4 /* lengthProduct */
ldc 10000
lcmp
ifge 8
aload 1 /* x */
aload 2 /* y */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.hasTies:([D[D)Z
ifeq 8
4: .line 261
aload 1 /* x */
invokestatic org.apache.commons.math3.util.MathArrays.copyOf:([D)[D
astore 6 /* xa */
5: .line 262
aload 2 /* y */
invokestatic org.apache.commons.math3.util.MathArrays.copyOf:([D)[D
astore 7 /* ya */
6: .line 263
aload 6 /* xa */
aload 7 /* ya */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.fixTies:([D[D)V
7: .line 264
goto 10
8: .line 265
StackMap locals: long double[] double[]
StackMap stack:
aload 1 /* x */
astore 6 /* xa */
9: .line 266
aload 2 /* y */
astore 7 /* ya */
10: .line 268
StackMap locals:
StackMap stack:
lload 4 /* lengthProduct */
ldc 10000
lcmp
ifge 12
11: .line 269
aload 0 /* this */
aload 0 /* this */
aload 6 /* xa */
aload 7 /* ya */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.kolmogorovSmirnovStatistic:([D[D)D
aload 1 /* x */
arraylength
aload 2 /* y */
arraylength
iload 3 /* strict */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.exactP:(DIIZ)D
dreturn
12: .line 271
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 0 /* this */
aload 1 /* x */
aload 2 /* y */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.kolmogorovSmirnovStatistic:([D[D)D
aload 1 /* x */
arraylength
aload 2 /* y */
arraylength
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.approximateP:(DII)D
dreturn
end local 7 // double[] ya
end local 6 // double[] xa
end local 4 // long lengthProduct
end local 3 // boolean strict
end local 2 // double[] y
end local 1 // double[] x
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 13 1 x [D
0 13 2 y [D
0 13 3 strict Z
1 13 4 lengthProduct J
2 13 6 xa [D
3 13 7 ya [D
MethodParameters:
Name Flags
x
y
strict
public double kolmogorovSmirnovTest(double[], double[]);
descriptor: ([D[D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double[] x
start local 2 // double[] y
0: .line 290
aload 0 /* this */
aload 1 /* x */
aload 2 /* y */
iconst_1
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.kolmogorovSmirnovTest:([D[DZ)D
dreturn
end local 2 // double[] y
end local 1 // double[] x
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 1 1 x [D
0 1 2 y [D
MethodParameters:
Name Flags
x
y
public double kolmogorovSmirnovStatistic(double[], double[]);
descriptor: ([D[D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double[] x
start local 2 // double[] y
0: .line 308
aload 0 /* this */
aload 1 /* x */
aload 2 /* y */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.integralKolmogorovSmirnovStatistic:([D[D)J
l2d
aload 1 /* x */
arraylength
i2l
aload 2 /* y */
arraylength
i2l
lmul
l2d
ddiv
dreturn
end local 2 // double[] y
end local 1 // double[] x
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 1 1 x [D
0 1 2 y [D
MethodParameters:
Name Flags
x
y
private long integralKolmogorovSmirnovStatistic(double[], double[]);
descriptor: ([D[D)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=15, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double[] x
start local 2 // double[] y
0: .line 327
aload 0 /* this */
aload 1 /* x */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.checkArray:([D)V
1: .line 328
aload 0 /* this */
aload 2 /* y */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.checkArray:([D)V
2: .line 330
aload 1 /* x */
invokestatic org.apache.commons.math3.util.MathArrays.copyOf:([D)[D
astore 3 /* sx */
start local 3 // double[] sx
3: .line 331
aload 2 /* y */
invokestatic org.apache.commons.math3.util.MathArrays.copyOf:([D)[D
astore 4 /* sy */
start local 4 // double[] sy
4: .line 332
aload 3 /* sx */
invokestatic java.util.Arrays.sort:([D)V
5: .line 333
aload 4 /* sy */
invokestatic java.util.Arrays.sort:([D)V
6: .line 334
aload 3 /* sx */
arraylength
istore 5 /* n */
start local 5 // int n
7: .line 335
aload 4 /* sy */
arraylength
istore 6 /* m */
start local 6 // int m
8: .line 337
iconst_0
istore 7 /* rankX */
start local 7 // int rankX
9: .line 338
iconst_0
istore 8 /* rankY */
start local 8 // int rankY
10: .line 339
lconst_0
lstore 9 /* curD */
start local 9 // long curD
11: .line 342
lconst_0
lstore 11 /* supD */
start local 11 // long supD
12: .line 344
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double[] double[] double[] double[] int int int int long long
StackMap stack:
aload 3 /* sx */
iload 7 /* rankX */
daload
aload 4 /* sy */
iload 8 /* rankY */
daload
invokestatic java.lang.Double.compare:(DD)I
ifgt 13
aload 3 /* sx */
iload 7 /* rankX */
daload
goto 14
StackMap locals:
StackMap stack:
13: aload 4 /* sy */
iload 8 /* rankY */
daload
StackMap locals:
StackMap stack: double
14: dstore 13 /* z */
start local 13 // double z
15: .line 345
goto 18
16: .line 346
StackMap locals: double
StackMap stack:
iinc 7 /* rankX */ 1
17: .line 347
lload 9 /* curD */
iload 6 /* m */
i2l
ladd
lstore 9 /* curD */
18: .line 345
StackMap locals:
StackMap stack:
iload 7 /* rankX */
iload 5 /* n */
if_icmpge 22
aload 3 /* sx */
iload 7 /* rankX */
daload
dload 13 /* z */
invokestatic java.lang.Double.compare:(DD)I
ifeq 16
19: .line 349
goto 22
20: .line 350
StackMap locals:
StackMap stack:
iinc 8 /* rankY */ 1
21: .line 351
lload 9 /* curD */
iload 5 /* n */
i2l
lsub
lstore 9 /* curD */
22: .line 349
StackMap locals:
StackMap stack:
iload 8 /* rankY */
iload 6 /* m */
if_icmpge 23
aload 4 /* sy */
iload 8 /* rankY */
daload
dload 13 /* z */
invokestatic java.lang.Double.compare:(DD)I
ifeq 20
23: .line 353
StackMap locals:
StackMap stack:
lload 9 /* curD */
lload 11 /* supD */
lcmp
ifle 26
24: .line 354
lload 9 /* curD */
lstore 11 /* supD */
25: .line 355
goto 28
26: .line 356
StackMap locals:
StackMap stack:
lload 9 /* curD */
lneg
lload 11 /* supD */
lcmp
ifle 28
27: .line 357
lload 9 /* curD */
lneg
lstore 11 /* supD */
end local 13 // double z
28: .line 359
StackMap locals:
StackMap stack:
iload 7 /* rankX */
iload 5 /* n */
if_icmpge 30
iload 8 /* rankY */
iload 6 /* m */
29: .line 343
if_icmplt 12
30: .line 360
StackMap locals:
StackMap stack:
lload 11 /* supD */
lreturn
end local 11 // long supD
end local 9 // long curD
end local 8 // int rankY
end local 7 // int rankX
end local 6 // int m
end local 5 // int n
end local 4 // double[] sy
end local 3 // double[] sx
end local 2 // double[] y
end local 1 // double[] x
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 31 1 x [D
0 31 2 y [D
3 31 3 sx [D
4 31 4 sy [D
7 31 5 n I
8 31 6 m I
9 31 7 rankX I
10 31 8 rankY I
11 31 9 curD J
12 31 11 supD J
15 28 13 z D
MethodParameters:
Name Flags
x
y
public double kolmogorovSmirnovTest(org.apache.commons.math3.distribution.RealDistribution, double[]);
descriptor: (Lorg/apache/commons/math3/distribution/RealDistribution;[D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // org.apache.commons.math3.distribution.RealDistribution distribution
start local 2 // double[] data
0: .line 376
aload 0 /* this */
aload 1 /* distribution */
aload 2 /* data */
iconst_0
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.kolmogorovSmirnovTest:(Lorg/apache/commons/math3/distribution/RealDistribution;[DZ)D
dreturn
end local 2 // double[] data
end local 1 // org.apache.commons.math3.distribution.RealDistribution distribution
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 1 1 distribution Lorg/apache/commons/math3/distribution/RealDistribution;
0 1 2 data [D
MethodParameters:
Name Flags
distribution
data
public boolean kolmogorovSmirnovTest(org.apache.commons.math3.distribution.RealDistribution, double[], double);
descriptor: (Lorg/apache/commons/math3/distribution/RealDistribution;[DD)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // org.apache.commons.math3.distribution.RealDistribution distribution
start local 2 // double[] data
start local 3 // double alpha
0: .line 392
dload 3 /* alpha */
dconst_0
dcmpg
ifle 1
dload 3 /* alpha */
ldc 0.5
dcmpl
ifle 2
1: .line 393
StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.OUT_OF_BOUND_SIGNIFICANCE_LEVEL:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
dload 3 /* alpha */
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc 0.5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokespecial org.apache.commons.math3.exception.OutOfRangeException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;)V
athrow
2: .line 395
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* distribution */
aload 2 /* data */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.kolmogorovSmirnovTest:(Lorg/apache/commons/math3/distribution/RealDistribution;[D)D
dload 3 /* alpha */
dcmpg
ifge 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 3 // double alpha
end local 2 // double[] data
end local 1 // org.apache.commons.math3.distribution.RealDistribution distribution
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 4 1 distribution Lorg/apache/commons/math3/distribution/RealDistribution;
0 4 2 data [D
0 4 3 alpha D
MethodParameters:
Name Flags
distribution
data
alpha
public double bootstrap(double[], double[], int, boolean);
descriptor: ([D[DIZ)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=18, args_size=5
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double[] x
start local 2 // double[] y
start local 3 // int iterations
start local 4 // boolean strict
0: .line 417
aload 1 /* x */
arraylength
istore 5 /* xLength */
start local 5 // int xLength
1: .line 418
aload 2 /* y */
arraylength
istore 6 /* yLength */
start local 6 // int yLength
2: .line 419
iload 5 /* xLength */
iload 6 /* yLength */
iadd
newarray 7
astore 7 /* combined */
start local 7 // double[] combined
3: .line 420
aload 1 /* x */
iconst_0
aload 7 /* combined */
iconst_0
iload 5 /* xLength */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: .line 421
aload 2 /* y */
iconst_0
aload 7 /* combined */
iload 5 /* xLength */
iload 6 /* yLength */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: .line 422
new org.apache.commons.math3.distribution.EnumeratedRealDistribution
dup
aload 0 /* this */
getfield org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.rng:Lorg/apache/commons/math3/random/RandomGenerator;
aload 7 /* combined */
invokespecial org.apache.commons.math3.distribution.EnumeratedRealDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;[D)V
astore 8 /* dist */
start local 8 // org.apache.commons.math3.distribution.EnumeratedRealDistribution dist
6: .line 423
aload 0 /* this */
aload 1 /* x */
aload 2 /* y */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.integralKolmogorovSmirnovStatistic:([D[D)J
lstore 9 /* d */
start local 9 // long d
7: .line 424
iconst_0
istore 11 /* greaterCount */
start local 11 // int greaterCount
8: .line 425
iconst_0
istore 12 /* equalCount */
start local 12 // int equalCount
9: .line 429
iconst_0
istore 17 /* i */
start local 17 // int i
10: goto 20
11: .line 430
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double[] double[] int int int int double[] org.apache.commons.math3.distribution.EnumeratedRealDistribution long int int top top top top int
StackMap stack:
aload 8 /* dist */
iload 5 /* xLength */
invokevirtual org.apache.commons.math3.distribution.EnumeratedRealDistribution.sample:(I)[D
astore 13 /* curX */
start local 13 // double[] curX
12: .line 431
aload 8 /* dist */
iload 6 /* yLength */
invokevirtual org.apache.commons.math3.distribution.EnumeratedRealDistribution.sample:(I)[D
astore 14 /* curY */
start local 14 // double[] curY
13: .line 432
aload 0 /* this */
aload 13 /* curX */
aload 14 /* curY */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.integralKolmogorovSmirnovStatistic:([D[D)J
lstore 15 /* curD */
start local 15 // long curD
14: .line 433
lload 15 /* curD */
lload 9 /* d */
lcmp
ifle 17
15: .line 434
iinc 11 /* greaterCount */ 1
16: .line 435
goto 19
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double[] double[] int int int int double[] org.apache.commons.math3.distribution.EnumeratedRealDistribution long int int double[] double[] long int
StackMap stack:
17: lload 15 /* curD */
lload 9 /* d */
lcmp
ifne 19
18: .line 436
iinc 12 /* equalCount */ 1
19: .line 429
StackMap locals:
StackMap stack:
iinc 17 /* i */ 1
end local 15 // long curD
end local 14 // double[] curY
end local 13 // double[] curX
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double[] double[] int int int int double[] org.apache.commons.math3.distribution.EnumeratedRealDistribution long int int top top top top int
StackMap stack:
20: iload 17 /* i */
iload 3 /* iterations */
if_icmplt 11
end local 17 // int i
21: .line 439
iload 4 /* strict */
ifeq 22
iload 11 /* greaterCount */
i2d
iload 3 /* iterations */
i2d
ddiv
goto 23
22: .line 440
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double[] double[] int int int int double[] org.apache.commons.math3.distribution.EnumeratedRealDistribution long int int
StackMap stack:
iload 11 /* greaterCount */
iload 12 /* equalCount */
iadd
i2d
iload 3 /* iterations */
i2d
ddiv
23: .line 439
StackMap locals:
StackMap stack: double
dreturn
end local 12 // int equalCount
end local 11 // int greaterCount
end local 9 // long d
end local 8 // org.apache.commons.math3.distribution.EnumeratedRealDistribution dist
end local 7 // double[] combined
end local 6 // int yLength
end local 5 // int xLength
end local 4 // boolean strict
end local 3 // int iterations
end local 2 // double[] y
end local 1 // double[] x
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 24 1 x [D
0 24 2 y [D
0 24 3 iterations I
0 24 4 strict Z
1 24 5 xLength I
2 24 6 yLength I
3 24 7 combined [D
6 24 8 dist Lorg/apache/commons/math3/distribution/EnumeratedRealDistribution;
7 24 9 d J
8 24 11 greaterCount I
9 24 12 equalCount I
12 20 13 curX [D
13 20 14 curY [D
14 20 15 curD J
10 21 17 i I
MethodParameters:
Name Flags
x
y
iterations
strict
public double bootstrap(double[], double[], int);
descriptor: ([D[DI)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double[] x
start local 2 // double[] y
start local 3 // int iterations
0: .line 454
aload 0 /* this */
aload 1 /* x */
aload 2 /* y */
iload 3 /* iterations */
iconst_1
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.bootstrap:([D[DIZ)D
dreturn
end local 3 // int iterations
end local 2 // double[] y
end local 1 // double[] x
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 1 1 x [D
0 1 2 y [D
0 1 3 iterations I
MethodParameters:
Name Flags
x
y
iterations
public double cdf(double, int);
descriptor: (DI)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
0: .line 472
aload 0 /* this */
dload 1 /* d */
iload 3 /* n */
iconst_0
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.cdf:(DIZ)D
dreturn
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 1 1 d D
0 1 3 n I
Exceptions:
throws org.apache.commons.math3.exception.MathArithmeticException
MethodParameters:
Name Flags
d
n
public double cdfExact(double, int);
descriptor: (DI)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
0: .line 491
aload 0 /* this */
dload 1 /* d */
iload 3 /* n */
iconst_1
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.cdf:(DIZ)D
dreturn
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 1 1 d D
0 1 3 n I
Exceptions:
throws org.apache.commons.math3.exception.MathArithmeticException
MethodParameters:
Name Flags
d
n
public double cdf(double, int, boolean);
descriptor: (DIZ)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=14, args_size=4
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
start local 4 // boolean exact
0: .line 513
dconst_1
iload 3 /* n */
i2d
ddiv
dstore 5 /* ninv */
start local 5 // double ninv
1: .line 514
ldc 0.5
dload 5 /* ninv */
dmul
dstore 7 /* ninvhalf */
start local 7 // double ninvhalf
2: .line 516
dload 1 /* d */
dload 7 /* ninvhalf */
dcmpg
ifgt 4
3: .line 517
dconst_0
dreturn
4: .line 518
StackMap locals: double double
StackMap stack:
dload 7 /* ninvhalf */
dload 1 /* d */
dcmpg
ifge 13
dload 1 /* d */
dload 5 /* ninv */
dcmpg
ifgt 13
5: .line 519
dconst_1
dstore 9 /* res */
start local 9 // double res
6: .line 520
ldc 2.0
dload 1 /* d */
dmul
dload 5 /* ninv */
dsub
dstore 11 /* f */
start local 11 // double f
7: .line 522
iconst_1
istore 13 /* i */
start local 13 // int i
8: goto 11
9: .line 523
StackMap locals: double double int
StackMap stack:
dload 9 /* res */
iload 13 /* i */
i2d
dload 11 /* f */
dmul
dmul
dstore 9 /* res */
10: .line 522
iinc 13 /* i */ 1
StackMap locals:
StackMap stack:
11: iload 13 /* i */
iload 3 /* n */
if_icmple 9
end local 13 // int i
12: .line 525
dload 9 /* res */
dreturn
end local 11 // double f
end local 9 // double res
13: .line 526
StackMap locals:
StackMap stack:
dconst_1
dload 5 /* ninv */
dsub
dload 1 /* d */
dcmpg
ifgt 15
dload 1 /* d */
dconst_1
dcmpg
ifge 15
14: .line 527
dconst_1
ldc 2.0
dconst_1
dload 1 /* d */
dsub
iload 3 /* n */
i2d
invokestatic java.lang.Math.pow:(DD)D
dmul
dsub
dreturn
15: .line 528
StackMap locals:
StackMap stack:
dconst_1
dload 1 /* d */
dcmpg
ifgt 17
16: .line 529
dconst_1
dreturn
17: .line 531
StackMap locals:
StackMap stack:
iload 4 /* exact */
ifeq 19
18: .line 532
aload 0 /* this */
dload 1 /* d */
iload 3 /* n */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.exactK:(DI)D
dreturn
19: .line 534
StackMap locals:
StackMap stack:
iload 3 /* n */
sipush 140
if_icmpgt 21
20: .line 535
aload 0 /* this */
dload 1 /* d */
iload 3 /* n */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.roundedK:(DI)D
dreturn
21: .line 537
StackMap locals:
StackMap stack:
aload 0 /* this */
dload 1 /* d */
iload 3 /* n */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.pelzGood:(DI)D
dreturn
end local 7 // double ninvhalf
end local 5 // double ninv
end local 4 // boolean exact
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 22 1 d D
0 22 3 n I
0 22 4 exact Z
1 22 5 ninv D
2 22 7 ninvhalf D
6 13 9 res D
7 13 11 f D
8 12 13 i I
Exceptions:
throws org.apache.commons.math3.exception.MathArithmeticException
MethodParameters:
Name Flags
d
n
exact
private double exactK(double, int);
descriptor: (DI)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
0: .line 555
iload 3 /* n */
i2d
dload 1 /* d */
dmul
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 4 /* k */
start local 4 // int k
1: .line 557
aload 0 /* this */
dload 1 /* d */
iload 3 /* n */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.createExactH:(DI)Lorg/apache/commons/math3/linear/FieldMatrix;
astore 5 /* H */
start local 5 // org.apache.commons.math3.linear.FieldMatrix H
2: .line 558
aload 5 /* H */
iload 3 /* n */
invokeinterface org.apache.commons.math3.linear.FieldMatrix.power:(I)Lorg/apache/commons/math3/linear/FieldMatrix;
astore 6 /* Hpower */
start local 6 // org.apache.commons.math3.linear.FieldMatrix Hpower
3: .line 560
aload 6 /* Hpower */
iload 4 /* k */
iconst_1
isub
iload 4 /* k */
iconst_1
isub
invokeinterface org.apache.commons.math3.linear.FieldMatrix.getEntry:(II)Lorg/apache/commons/math3/FieldElement;
checkcast org.apache.commons.math3.fraction.BigFraction
astore 7 /* pFrac */
start local 7 // org.apache.commons.math3.fraction.BigFraction pFrac
4: .line 562
iconst_1
istore 8 /* i */
start local 8 // int i
5: goto 8
6: .line 563
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double int int org.apache.commons.math3.linear.FieldMatrix org.apache.commons.math3.linear.FieldMatrix org.apache.commons.math3.fraction.BigFraction int
StackMap stack:
aload 7 /* pFrac */
iload 8 /* i */
invokevirtual org.apache.commons.math3.fraction.BigFraction.multiply:(I)Lorg/apache/commons/math3/fraction/BigFraction;
iload 3 /* n */
invokevirtual org.apache.commons.math3.fraction.BigFraction.divide:(I)Lorg/apache/commons/math3/fraction/BigFraction;
astore 7 /* pFrac */
7: .line 562
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
8: iload 8 /* i */
iload 3 /* n */
if_icmple 6
end local 8 // int i
9: .line 571
aload 7 /* pFrac */
bipush 20
iconst_4
invokevirtual org.apache.commons.math3.fraction.BigFraction.bigDecimalValue:(II)Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.doubleValue:()D
dreturn
end local 7 // org.apache.commons.math3.fraction.BigFraction pFrac
end local 6 // org.apache.commons.math3.linear.FieldMatrix Hpower
end local 5 // org.apache.commons.math3.linear.FieldMatrix H
end local 4 // int k
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 10 1 d D
0 10 3 n I
1 10 4 k I
2 10 5 H Lorg/apache/commons/math3/linear/FieldMatrix<Lorg/apache/commons/math3/fraction/BigFraction;>;
3 10 6 Hpower Lorg/apache/commons/math3/linear/FieldMatrix<Lorg/apache/commons/math3/fraction/BigFraction;>;
4 10 7 pFrac Lorg/apache/commons/math3/fraction/BigFraction;
5 9 8 i I
Exceptions:
throws org.apache.commons.math3.exception.MathArithmeticException
MethodParameters:
Name Flags
d
n
private double roundedK(double, int);
descriptor: (DI)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
0: .line 583
iload 3 /* n */
i2d
dload 1 /* d */
dmul
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 4 /* k */
start local 4 // int k
1: .line 584
aload 0 /* this */
dload 1 /* d */
iload 3 /* n */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.createRoundedH:(DI)Lorg/apache/commons/math3/linear/RealMatrix;
astore 5 /* H */
start local 5 // org.apache.commons.math3.linear.RealMatrix H
2: .line 585
aload 5 /* H */
iload 3 /* n */
invokeinterface org.apache.commons.math3.linear.RealMatrix.power:(I)Lorg/apache/commons/math3/linear/RealMatrix;
astore 6 /* Hpower */
start local 6 // org.apache.commons.math3.linear.RealMatrix Hpower
3: .line 587
aload 6 /* Hpower */
iload 4 /* k */
iconst_1
isub
iload 4 /* k */
iconst_1
isub
invokeinterface org.apache.commons.math3.linear.RealMatrix.getEntry:(II)D
dstore 7 /* pFrac */
start local 7 // double pFrac
4: .line 588
iconst_1
istore 9 /* i */
start local 9 // int i
5: goto 8
6: .line 589
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double int int org.apache.commons.math3.linear.RealMatrix org.apache.commons.math3.linear.RealMatrix double int
StackMap stack:
dload 7 /* pFrac */
iload 9 /* i */
i2d
iload 3 /* n */
i2d
ddiv
dmul
dstore 7 /* pFrac */
7: .line 588
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
8: iload 9 /* i */
iload 3 /* n */
if_icmple 6
end local 9 // int i
9: .line 592
dload 7 /* pFrac */
dreturn
end local 7 // double pFrac
end local 6 // org.apache.commons.math3.linear.RealMatrix Hpower
end local 5 // org.apache.commons.math3.linear.RealMatrix H
end local 4 // int k
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 10 1 d D
0 10 3 n I
1 10 4 k I
2 10 5 H Lorg/apache/commons/math3/linear/RealMatrix;
3 10 6 Hpower Lorg/apache/commons/math3/linear/RealMatrix;
4 10 7 pFrac D
5 9 9 i I
MethodParameters:
Name Flags
d
n
public double pelzGood(double, int);
descriptor: (DI)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=43, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
0: .line 605
iload 3 /* n */
i2d
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dstore 4 /* sqrtN */
start local 4 // double sqrtN
1: .line 606
dload 1 /* d */
dload 4 /* sqrtN */
dmul
dstore 6 /* z */
start local 6 // double z
2: .line 607
dload 1 /* d */
dload 1 /* d */
dmul
iload 3 /* n */
i2d
dmul
dstore 8 /* z2 */
start local 8 // double z2
3: .line 608
dload 8 /* z2 */
dload 8 /* z2 */
dmul
dstore 10 /* z4 */
start local 10 // double z4
4: .line 609
dload 10 /* z4 */
dload 8 /* z2 */
dmul
dstore 12 /* z6 */
start local 12 // double z6
5: .line 610
dload 10 /* z4 */
dload 10 /* z4 */
dmul
dstore 14 /* z8 */
start local 14 // double z8
6: .line 613
dconst_0
dstore 16 /* ret */
start local 16 // double ret
7: .line 616
dconst_0
dstore 18 /* sum */
start local 18 // double sum
8: .line 617
dconst_0
dstore 20 /* increment */
start local 20 // double increment
9: .line 618
dconst_0
dstore 22 /* kTerm */
start local 22 // double kTerm
10: .line 619
ldc 9.869604401089358
ldc 8.0
dload 8 /* z2 */
dmul
ddiv
dstore 24 /* z2Term */
start local 24 // double z2Term
11: .line 620
iconst_1
istore 26 /* k */
start local 26 // int k
12: .line 621
goto 19
13: .line 622
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double int double double double double double double double double double double double int
StackMap stack:
iconst_2
iload 26 /* k */
imul
iconst_1
isub
i2d
dstore 22 /* kTerm */
14: .line 623
dload 24 /* z2Term */
dneg
dload 22 /* kTerm */
dmul
dload 22 /* kTerm */
dmul
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
dstore 20 /* increment */
15: .line 624
dload 18 /* sum */
dload 20 /* increment */
dadd
dstore 18 /* sum */
16: .line 625
dload 20 /* increment */
ldc 1.0E-10
dload 18 /* sum */
dmul
dcmpg
ifgt 18
17: .line 626
goto 20
18: .line 621
StackMap locals:
StackMap stack:
iinc 26 /* k */ 1
StackMap locals:
StackMap stack:
19: iload 26 /* k */
ldc 100000
if_icmplt 13
20: .line 629
StackMap locals:
StackMap stack:
iload 26 /* k */
ldc 100000
if_icmpne 22
21: .line 630
new org.apache.commons.math3.exception.TooManyIterationsException
dup
ldc 100000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.TooManyIterationsException.<init>:(Ljava/lang/Number;)V
athrow
22: .line 632
StackMap locals:
StackMap stack:
dload 18 /* sum */
ldc 6.283185307179586
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dmul
dload 6 /* z */
ddiv
dstore 16 /* ret */
23: .line 637
ldc 2.0
dload 8 /* z2 */
dmul
dstore 27 /* twoZ2 */
start local 27 // double twoZ2
24: .line 638
dconst_0
dstore 18 /* sum */
25: .line 639
dconst_0
dstore 22 /* kTerm */
26: .line 640
dconst_0
dstore 29 /* kTerm2 */
start local 29 // double kTerm2
27: .line 641
iconst_0
istore 26 /* k */
goto 35
28: .line 642
StackMap locals: double double
StackMap stack:
iload 26 /* k */
i2d
ldc 0.5
dadd
dstore 22 /* kTerm */
29: .line 643
dload 22 /* kTerm */
dload 22 /* kTerm */
dmul
dstore 29 /* kTerm2 */
30: .line 644
ldc 9.869604401089358
dload 29 /* kTerm2 */
dmul
dload 8 /* z2 */
dsub
ldc -9.869604401089358
dload 29 /* kTerm2 */
dmul
dload 27 /* twoZ2 */
ddiv
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
dmul
dstore 20 /* increment */
31: .line 645
dload 18 /* sum */
dload 20 /* increment */
dadd
dstore 18 /* sum */
32: .line 646
dload 20 /* increment */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
ldc 1.0E-10
dload 18 /* sum */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
dmul
dcmpg
ifge 34
33: .line 647
goto 36
34: .line 641
StackMap locals:
StackMap stack:
iinc 26 /* k */ 1
StackMap locals:
StackMap stack:
35: iload 26 /* k */
ldc 100000
if_icmplt 28
36: .line 650
StackMap locals:
StackMap stack:
iload 26 /* k */
ldc 100000
if_icmpne 38
37: .line 651
new org.apache.commons.math3.exception.TooManyIterationsException
dup
ldc 100000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.TooManyIterationsException.<init>:(Ljava/lang/Number;)V
athrow
38: .line 653
StackMap locals:
StackMap stack:
ldc 1.5707963267948966
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dstore 31 /* sqrtHalfPi */
start local 31 // double sqrtHalfPi
39: .line 655
dload 16 /* ret */
dload 18 /* sum */
dload 31 /* sqrtHalfPi */
dmul
ldc 3.0
dload 10 /* z4 */
dmul
dload 4 /* sqrtN */
dmul
ddiv
dadd
dstore 16 /* ret */
40: .line 659
ldc 2.0
dload 10 /* z4 */
dmul
dstore 33 /* z4Term */
start local 33 // double z4Term
41: .line 660
ldc 6.0
dload 12 /* z6 */
dmul
dstore 35 /* z6Term */
start local 35 // double z6Term
42: .line 661
ldc 5.0
dload 8 /* z2 */
dmul
dstore 24 /* z2Term */
43: .line 663
dconst_0
dstore 18 /* sum */
44: .line 664
dconst_0
dstore 22 /* kTerm */
45: .line 665
dconst_0
dstore 29 /* kTerm2 */
46: .line 666
iconst_0
istore 26 /* k */
goto 58
47: .line 667
StackMap locals: double double double
StackMap stack:
iload 26 /* k */
i2d
ldc 0.5
dadd
dstore 22 /* kTerm */
48: .line 668
dload 22 /* kTerm */
dload 22 /* kTerm */
dmul
dstore 29 /* kTerm2 */
49: .line 669
dload 35 /* z6Term */
dload 33 /* z4Term */
dadd
ldc 9.869604401089358
dload 33 /* z4Term */
dload 24 /* z2Term */
dsub
dmul
dload 29 /* kTerm2 */
dmul
dadd
50: .line 670
ldc 97.40909103400243
dconst_1
dload 27 /* twoZ2 */
dsub
dmul
dload 29 /* kTerm2 */
dmul
dload 29 /* kTerm2 */
dmul
51: .line 669
dadd
52: .line 670
ldc -9.869604401089358
dload 29 /* kTerm2 */
dmul
dload 27 /* twoZ2 */
ddiv
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
53: .line 669
dmul
dstore 20 /* increment */
54: .line 671
dload 18 /* sum */
dload 20 /* increment */
dadd
dstore 18 /* sum */
55: .line 672
dload 20 /* increment */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
ldc 1.0E-10
dload 18 /* sum */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
dmul
dcmpg
ifge 57
56: .line 673
goto 59
57: .line 666
StackMap locals:
StackMap stack:
iinc 26 /* k */ 1
StackMap locals:
StackMap stack:
58: iload 26 /* k */
ldc 100000
if_icmplt 47
59: .line 676
StackMap locals:
StackMap stack:
iload 26 /* k */
ldc 100000
if_icmpne 61
60: .line 677
new org.apache.commons.math3.exception.TooManyIterationsException
dup
ldc 100000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.TooManyIterationsException.<init>:(Ljava/lang/Number;)V
athrow
61: .line 679
StackMap locals:
StackMap stack:
dconst_0
dstore 37 /* sum2 */
start local 37 // double sum2
62: .line 680
dconst_0
dstore 29 /* kTerm2 */
63: .line 681
iconst_1
istore 26 /* k */
goto 70
64: .line 682
StackMap locals: double
StackMap stack:
iload 26 /* k */
iload 26 /* k */
imul
i2d
dstore 29 /* kTerm2 */
65: .line 683
ldc 9.869604401089358
dload 29 /* kTerm2 */
dmul
ldc -9.869604401089358
dload 29 /* kTerm2 */
dmul
dload 27 /* twoZ2 */
ddiv
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
dmul
dstore 20 /* increment */
66: .line 684
dload 37 /* sum2 */
dload 20 /* increment */
dadd
dstore 37 /* sum2 */
67: .line 685
dload 20 /* increment */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
ldc 1.0E-10
dload 37 /* sum2 */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
dmul
dcmpg
ifge 69
68: .line 686
goto 71
69: .line 681
StackMap locals:
StackMap stack:
iinc 26 /* k */ 1
StackMap locals:
StackMap stack:
70: iload 26 /* k */
ldc 100000
if_icmplt 64
71: .line 689
StackMap locals:
StackMap stack:
iload 26 /* k */
ldc 100000
if_icmpne 73
72: .line 690
new org.apache.commons.math3.exception.TooManyIterationsException
dup
ldc 100000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.TooManyIterationsException.<init>:(Ljava/lang/Number;)V
athrow
73: .line 693
StackMap locals:
StackMap stack:
dload 16 /* ret */
dload 31 /* sqrtHalfPi */
iload 3 /* n */
i2d
ddiv
dload 18 /* sum */
ldc 36.0
dload 8 /* z2 */
dmul
dload 8 /* z2 */
dmul
dload 8 /* z2 */
dmul
dload 6 /* z */
dmul
ddiv
dload 37 /* sum2 */
ldc 18.0
dload 8 /* z2 */
dmul
dload 6 /* z */
dmul
ddiv
dsub
dmul
dadd
dstore 16 /* ret */
74: .line 698
dconst_0
dstore 18 /* sum */
75: .line 699
dconst_0
dstore 39 /* kTerm4 */
start local 39 // double kTerm4
76: .line 700
dconst_0
dstore 41 /* kTerm6 */
start local 41 // double kTerm6
77: .line 701
iconst_0
istore 26 /* k */
goto 95
78: .line 702
StackMap locals: double double
StackMap stack:
iload 26 /* k */
i2d
ldc 0.5
dadd
dstore 22 /* kTerm */
79: .line 703
dload 22 /* kTerm */
dload 22 /* kTerm */
dmul
dstore 29 /* kTerm2 */
80: .line 704
dload 29 /* kTerm2 */
dload 29 /* kTerm2 */
dmul
dstore 39 /* kTerm4 */
81: .line 705
dload 39 /* kTerm4 */
dload 29 /* kTerm2 */
dmul
dstore 41 /* kTerm6 */
82: .line 706
ldc 961.3891935753043
dload 41 /* kTerm6 */
dmul
ldc 5.0
ldc 30.0
dload 8 /* z2 */
dmul
dsub
dmul
ldc 97.40909103400243
dload 39 /* kTerm4 */
dmul
ldc -60.0
dload 8 /* z2 */
dmul
ldc 212.0
dload 10 /* z4 */
dmul
dadd
dmul
dadd
83: .line 707
ldc 9.869604401089358
dload 29 /* kTerm2 */
dmul
ldc 135.0
dload 10 /* z4 */
dmul
ldc 96.0
dload 12 /* z6 */
dmul
dsub
dmul
84: .line 706
dadd
85: .line 707
ldc 30.0
dload 12 /* z6 */
dmul
86: .line 706
dsub
87: .line 707
ldc 90.0
dload 14 /* z8 */
dmul
88: .line 706
dsub
89: .line 708
ldc -9.869604401089358
dload 29 /* kTerm2 */
dmul
dload 27 /* twoZ2 */
ddiv
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
90: .line 706
dmul
dstore 20 /* increment */
91: .line 709
dload 18 /* sum */
dload 20 /* increment */
dadd
dstore 18 /* sum */
92: .line 710
dload 20 /* increment */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
ldc 1.0E-10
dload 18 /* sum */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
dmul
dcmpg
ifge 94
93: .line 711
goto 96
94: .line 701
StackMap locals:
StackMap stack:
iinc 26 /* k */ 1
StackMap locals:
StackMap stack:
95: iload 26 /* k */
ldc 100000
if_icmplt 78
96: .line 714
StackMap locals:
StackMap stack:
iload 26 /* k */
ldc 100000
if_icmpne 98
97: .line 715
new org.apache.commons.math3.exception.TooManyIterationsException
dup
ldc 100000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.TooManyIterationsException.<init>:(Ljava/lang/Number;)V
athrow
98: .line 717
StackMap locals:
StackMap stack:
dconst_0
dstore 37 /* sum2 */
99: .line 718
iconst_1
istore 26 /* k */
goto 109
100: .line 719
StackMap locals:
StackMap stack:
iload 26 /* k */
iload 26 /* k */
imul
i2d
dstore 29 /* kTerm2 */
101: .line 720
dload 29 /* kTerm2 */
dload 29 /* kTerm2 */
dmul
dstore 39 /* kTerm4 */
102: .line 721
ldc -97.40909103400243
dload 39 /* kTerm4 */
dmul
ldc 29.608813203268074
dload 29 /* kTerm2 */
dmul
dload 8 /* z2 */
dmul
dadd
103: .line 722
ldc -9.869604401089358
dload 29 /* kTerm2 */
dmul
dload 27 /* twoZ2 */
ddiv
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
104: .line 721
dmul
dstore 20 /* increment */
105: .line 723
dload 37 /* sum2 */
dload 20 /* increment */
dadd
dstore 37 /* sum2 */
106: .line 724
dload 20 /* increment */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
ldc 1.0E-10
dload 37 /* sum2 */
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
dmul
dcmpg
ifge 108
107: .line 725
goto 110
108: .line 718
StackMap locals:
StackMap stack:
iinc 26 /* k */ 1
StackMap locals:
StackMap stack:
109: iload 26 /* k */
ldc 100000
if_icmplt 100
110: .line 728
StackMap locals:
StackMap stack:
iload 26 /* k */
ldc 100000
if_icmpne 112
111: .line 729
new org.apache.commons.math3.exception.TooManyIterationsException
dup
ldc 100000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.TooManyIterationsException.<init>:(Ljava/lang/Number;)V
athrow
112: .line 731
StackMap locals:
StackMap stack:
dload 16 /* ret */
dload 31 /* sqrtHalfPi */
dload 4 /* sqrtN */
iload 3 /* n */
i2d
dmul
ddiv
dload 18 /* sum */
ldc 3240.0
dload 12 /* z6 */
dmul
dload 10 /* z4 */
dmul
ddiv
113: .line 732
dload 37 /* sum2 */
ldc 108.0
dload 12 /* z6 */
dmul
ddiv
dadd
dmul
114: .line 731
dadd
dreturn
end local 41 // double kTerm6
end local 39 // double kTerm4
end local 37 // double sum2
end local 35 // double z6Term
end local 33 // double z4Term
end local 31 // double sqrtHalfPi
end local 29 // double kTerm2
end local 27 // double twoZ2
end local 26 // int k
end local 24 // double z2Term
end local 22 // double kTerm
end local 20 // double increment
end local 18 // double sum
end local 16 // double ret
end local 14 // double z8
end local 12 // double z6
end local 10 // double z4
end local 8 // double z2
end local 6 // double z
end local 4 // double sqrtN
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 115 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 115 1 d D
0 115 3 n I
1 115 4 sqrtN D
2 115 6 z D
3 115 8 z2 D
4 115 10 z4 D
5 115 12 z6 D
6 115 14 z8 D
7 115 16 ret D
8 115 18 sum D
9 115 20 increment D
10 115 22 kTerm D
11 115 24 z2Term D
12 115 26 k I
24 115 27 twoZ2 D
27 115 29 kTerm2 D
39 115 31 sqrtHalfPi D
41 115 33 z4Term D
42 115 35 z6Term D
62 115 37 sum2 D
76 115 39 kTerm4 D
77 115 41 kTerm6 D
MethodParameters:
Name Flags
d
n
private org.apache.commons.math3.linear.FieldMatrix<org.apache.commons.math3.fraction.BigFraction> createExactH(double, int);
descriptor: (DI)Lorg/apache/commons/math3/linear/FieldMatrix;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
0: .line 750
iload 3 /* n */
i2d
dload 1 /* d */
dmul
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 4 /* k */
start local 4 // int k
1: .line 751
iconst_2
iload 4 /* k */
imul
iconst_1
isub
istore 5 /* m */
start local 5 // int m
2: .line 752
iload 4 /* k */
i2d
iload 3 /* n */
i2d
dload 1 /* d */
dmul
dsub
dstore 6 /* hDouble */
start local 6 // double hDouble
3: .line 753
dload 6 /* hDouble */
dconst_1
dcmpl
iflt 5
4: .line 754
new org.apache.commons.math3.exception.NumberIsTooLargeException
dup
dload 6 /* hDouble */
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
dconst_1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_0
invokespecial org.apache.commons.math3.exception.NumberIsTooLargeException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
5: .line 756
StackMap locals: int int double
StackMap stack:
aconst_null
astore 8 /* h */
start local 8 // org.apache.commons.math3.fraction.BigFraction h
6: .line 758
new org.apache.commons.math3.fraction.BigFraction
dup
dload 6 /* hDouble */
ldc 1.0E-20
sipush 10000
invokespecial org.apache.commons.math3.fraction.BigFraction.<init>:(DDI)V
astore 8 /* h */
7: .line 759
goto 13
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double int int int double org.apache.commons.math3.fraction.BigFraction
StackMap stack: org.apache.commons.math3.fraction.FractionConversionException
8: pop
9: .line 761
new org.apache.commons.math3.fraction.BigFraction
dup
dload 6 /* hDouble */
ldc 1.0E-10
sipush 10000
invokespecial org.apache.commons.math3.fraction.BigFraction.<init>:(DDI)V
astore 8 /* h */
10: .line 762
goto 13
StackMap locals:
StackMap stack: org.apache.commons.math3.fraction.FractionConversionException
11: pop
12: .line 763
new org.apache.commons.math3.fraction.BigFraction
dup
dload 6 /* hDouble */
ldc 1.0E-5
sipush 10000
invokespecial org.apache.commons.math3.fraction.BigFraction.<init>:(DDI)V
astore 8 /* h */
13: .line 766
StackMap locals:
StackMap stack:
iload 5 /* m */
iload 5 /* m */
multianewarray [[Lorg/apache/commons/math3/fraction/BigFraction; 2
astore 9 /* Hdata */
start local 9 // org.apache.commons.math3.fraction.BigFraction[][] Hdata
14: .line 771
iconst_0
istore 10 /* i */
start local 10 // int i
15: goto 25
16: .line 772
StackMap locals: org.apache.commons.math3.fraction.BigFraction[][] int
StackMap stack:
iconst_0
istore 11 /* j */
start local 11 // int j
17: goto 23
18: .line 773
StackMap locals: int
StackMap stack:
iload 10 /* i */
iload 11 /* j */
isub
iconst_1
iadd
ifge 21
19: .line 774
aload 9 /* Hdata */
iload 10 /* i */
aaload
iload 11 /* j */
getstatic org.apache.commons.math3.fraction.BigFraction.ZERO:Lorg/apache/commons/math3/fraction/BigFraction;
aastore
20: .line 775
goto 22
21: .line 776
StackMap locals:
StackMap stack:
aload 9 /* Hdata */
iload 10 /* i */
aaload
iload 11 /* j */
getstatic org.apache.commons.math3.fraction.BigFraction.ONE:Lorg/apache/commons/math3/fraction/BigFraction;
aastore
22: .line 772
StackMap locals:
StackMap stack:
iinc 11 /* j */ 1
StackMap locals:
StackMap stack:
23: iload 11 /* j */
iload 5 /* m */
if_icmplt 18
end local 11 // int j
24: .line 771
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
25: iload 10 /* i */
iload 5 /* m */
if_icmplt 16
end local 10 // int i
26: .line 785
iload 5 /* m */
anewarray org.apache.commons.math3.fraction.BigFraction
astore 10 /* hPowers */
start local 10 // org.apache.commons.math3.fraction.BigFraction[] hPowers
27: .line 786
aload 10 /* hPowers */
iconst_0
aload 8 /* h */
aastore
28: .line 787
iconst_1
istore 11 /* i */
start local 11 // int i
29: goto 32
30: .line 788
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double int int int double org.apache.commons.math3.fraction.BigFraction org.apache.commons.math3.fraction.BigFraction[][] org.apache.commons.math3.fraction.BigFraction[] int
StackMap stack:
aload 10 /* hPowers */
iload 11 /* i */
aload 8 /* h */
aload 10 /* hPowers */
iload 11 /* i */
iconst_1
isub
aaload
invokevirtual org.apache.commons.math3.fraction.BigFraction.multiply:(Lorg/apache/commons/math3/fraction/BigFraction;)Lorg/apache/commons/math3/fraction/BigFraction;
aastore
31: .line 787
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
32: iload 11 /* i */
iload 5 /* m */
if_icmplt 30
end local 11 // int i
33: .line 794
iconst_0
istore 11 /* i */
start local 11 // int i
34: goto 38
35: .line 795
StackMap locals:
StackMap stack:
aload 9 /* Hdata */
iload 11 /* i */
aaload
iconst_0
aload 9 /* Hdata */
iload 11 /* i */
aaload
iconst_0
aaload
aload 10 /* hPowers */
iload 11 /* i */
aaload
invokevirtual org.apache.commons.math3.fraction.BigFraction.subtract:(Lorg/apache/commons/math3/fraction/BigFraction;)Lorg/apache/commons/math3/fraction/BigFraction;
aastore
36: .line 796
aload 9 /* Hdata */
iload 5 /* m */
iconst_1
isub
aaload
iload 11 /* i */
aload 9 /* Hdata */
iload 5 /* m */
iconst_1
isub
aaload
iload 11 /* i */
aaload
aload 10 /* hPowers */
iload 5 /* m */
iload 11 /* i */
isub
iconst_1
isub
aaload
invokevirtual org.apache.commons.math3.fraction.BigFraction.subtract:(Lorg/apache/commons/math3/fraction/BigFraction;)Lorg/apache/commons/math3/fraction/BigFraction;
aastore
37: .line 794
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
38: iload 11 /* i */
iload 5 /* m */
if_icmplt 35
end local 11 // int i
39: .line 803
aload 8 /* h */
getstatic org.apache.commons.math3.fraction.BigFraction.ONE_HALF:Lorg/apache/commons/math3/fraction/BigFraction;
invokevirtual org.apache.commons.math3.fraction.BigFraction.compareTo:(Lorg/apache/commons/math3/fraction/BigFraction;)I
iconst_1
if_icmpne 41
40: .line 804
aload 9 /* Hdata */
iload 5 /* m */
iconst_1
isub
aaload
iconst_0
aload 9 /* Hdata */
iload 5 /* m */
iconst_1
isub
aaload
iconst_0
aaload
aload 8 /* h */
iconst_2
invokevirtual org.apache.commons.math3.fraction.BigFraction.multiply:(I)Lorg/apache/commons/math3/fraction/BigFraction;
iconst_1
invokevirtual org.apache.commons.math3.fraction.BigFraction.subtract:(I)Lorg/apache/commons/math3/fraction/BigFraction;
iload 5 /* m */
invokevirtual org.apache.commons.math3.fraction.BigFraction.pow:(I)Lorg/apache/commons/math3/fraction/BigFraction;
invokevirtual org.apache.commons.math3.fraction.BigFraction.add:(Lorg/apache/commons/math3/fraction/BigFraction;)Lorg/apache/commons/math3/fraction/BigFraction;
aastore
41: .line 815
StackMap locals:
StackMap stack:
iconst_0
istore 11 /* i */
start local 11 // int i
42: goto 54
43: .line 816
StackMap locals: int
StackMap stack:
iconst_0
istore 12 /* j */
start local 12 // int j
44: goto 52
45: .line 817
StackMap locals: int
StackMap stack:
iload 11 /* i */
iload 12 /* j */
isub
iconst_1
iadd
ifle 51
46: .line 818
iconst_2
istore 13 /* g */
start local 13 // int g
47: goto 50
48: .line 819
StackMap locals: int
StackMap stack:
aload 9 /* Hdata */
iload 11 /* i */
aaload
iload 12 /* j */
aload 9 /* Hdata */
iload 11 /* i */
aaload
iload 12 /* j */
aaload
iload 13 /* g */
invokevirtual org.apache.commons.math3.fraction.BigFraction.divide:(I)Lorg/apache/commons/math3/fraction/BigFraction;
aastore
49: .line 818
iinc 13 /* g */ 1
StackMap locals:
StackMap stack:
50: iload 13 /* g */
iload 11 /* i */
iload 12 /* j */
isub
iconst_1
iadd
if_icmple 48
end local 13 // int g
51: .line 816
StackMap locals:
StackMap stack:
iinc 12 /* j */ 1
StackMap locals:
StackMap stack:
52: iload 12 /* j */
iload 11 /* i */
iconst_1
iadd
if_icmplt 45
end local 12 // int j
53: .line 815
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
54: iload 11 /* i */
iload 5 /* m */
if_icmplt 43
end local 11 // int i
55: .line 824
new org.apache.commons.math3.linear.Array2DRowFieldMatrix
dup
invokestatic org.apache.commons.math3.fraction.BigFractionField.getInstance:()Lorg/apache/commons/math3/fraction/BigFractionField;
aload 9 /* Hdata */
invokespecial org.apache.commons.math3.linear.Array2DRowFieldMatrix.<init>:(Lorg/apache/commons/math3/Field;[[Lorg/apache/commons/math3/FieldElement;)V
areturn
end local 10 // org.apache.commons.math3.fraction.BigFraction[] hPowers
end local 9 // org.apache.commons.math3.fraction.BigFraction[][] Hdata
end local 8 // org.apache.commons.math3.fraction.BigFraction h
end local 6 // double hDouble
end local 5 // int m
end local 4 // int k
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 56 1 d D
0 56 3 n I
1 56 4 k I
2 56 5 m I
3 56 6 hDouble D
6 56 8 h Lorg/apache/commons/math3/fraction/BigFraction;
14 56 9 Hdata [[Lorg/apache/commons/math3/fraction/BigFraction;
15 26 10 i I
17 24 11 j I
27 56 10 hPowers [Lorg/apache/commons/math3/fraction/BigFraction;
29 33 11 i I
34 39 11 i I
42 55 11 i I
44 53 12 j I
47 51 13 g I
Exception table:
from to target type
6 7 8 Class org.apache.commons.math3.fraction.FractionConversionException
9 10 11 Class org.apache.commons.math3.fraction.FractionConversionException
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException, org.apache.commons.math3.fraction.FractionConversionException
Signature: (DI)Lorg/apache/commons/math3/linear/FieldMatrix<Lorg/apache/commons/math3/fraction/BigFraction;>;
MethodParameters:
Name Flags
d
n
private org.apache.commons.math3.linear.RealMatrix createRoundedH(double, int);
descriptor: (DI)Lorg/apache/commons/math3/linear/RealMatrix;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=13, args_size=3
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
0: .line 839
iload 3 /* n */
i2d
dload 1 /* d */
dmul
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 4 /* k */
start local 4 // int k
1: .line 840
iconst_2
iload 4 /* k */
imul
iconst_1
isub
istore 5 /* m */
start local 5 // int m
2: .line 841
iload 4 /* k */
i2d
iload 3 /* n */
i2d
dload 1 /* d */
dmul
dsub
dstore 6 /* h */
start local 6 // double h
3: .line 842
dload 6 /* h */
dconst_1
dcmpl
iflt 5
4: .line 843
new org.apache.commons.math3.exception.NumberIsTooLargeException
dup
dload 6 /* h */
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
dconst_1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_0
invokespecial org.apache.commons.math3.exception.NumberIsTooLargeException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
5: .line 845
StackMap locals: int int double
StackMap stack:
iload 5 /* m */
iload 5 /* m */
multianewarray [[D 2
astore 8 /* Hdata */
start local 8 // double[][] Hdata
6: .line 850
iconst_0
istore 9 /* i */
start local 9 // int i
7: goto 17
8: .line 851
StackMap locals: double[][] int
StackMap stack:
iconst_0
istore 10 /* j */
start local 10 // int j
9: goto 15
10: .line 852
StackMap locals: int
StackMap stack:
iload 9 /* i */
iload 10 /* j */
isub
iconst_1
iadd
ifge 13
11: .line 853
aload 8 /* Hdata */
iload 9 /* i */
aaload
iload 10 /* j */
dconst_0
dastore
12: .line 854
goto 14
13: .line 855
StackMap locals:
StackMap stack:
aload 8 /* Hdata */
iload 9 /* i */
aaload
iload 10 /* j */
dconst_1
dastore
14: .line 851
StackMap locals:
StackMap stack:
iinc 10 /* j */ 1
StackMap locals:
StackMap stack:
15: iload 10 /* j */
iload 5 /* m */
if_icmplt 10
end local 10 // int j
16: .line 850
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
17: iload 9 /* i */
iload 5 /* m */
if_icmplt 8
end local 9 // int i
18: .line 864
iload 5 /* m */
newarray 7
astore 9 /* hPowers */
start local 9 // double[] hPowers
19: .line 865
aload 9 /* hPowers */
iconst_0
dload 6 /* h */
dastore
20: .line 866
iconst_1
istore 10 /* i */
start local 10 // int i
21: goto 24
22: .line 867
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double int int int double double[][] double[] int
StackMap stack:
aload 9 /* hPowers */
iload 10 /* i */
dload 6 /* h */
aload 9 /* hPowers */
iload 10 /* i */
iconst_1
isub
daload
dmul
dastore
23: .line 866
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
24: iload 10 /* i */
iload 5 /* m */
if_icmplt 22
end local 10 // int i
25: .line 873
iconst_0
istore 10 /* i */
start local 10 // int i
26: goto 30
27: .line 874
StackMap locals:
StackMap stack:
aload 8 /* Hdata */
iload 10 /* i */
aaload
iconst_0
aload 8 /* Hdata */
iload 10 /* i */
aaload
iconst_0
daload
aload 9 /* hPowers */
iload 10 /* i */
daload
dsub
dastore
28: .line 875
aload 8 /* Hdata */
iload 5 /* m */
iconst_1
isub
aaload
iload 10 /* i */
dup2
daload
aload 9 /* hPowers */
iload 5 /* m */
iload 10 /* i */
isub
iconst_1
isub
daload
dsub
dastore
29: .line 873
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
30: iload 10 /* i */
iload 5 /* m */
if_icmplt 27
end local 10 // int i
31: .line 882
dload 6 /* h */
ldc 0.5
invokestatic java.lang.Double.compare:(DD)I
ifle 33
32: .line 883
aload 8 /* Hdata */
iload 5 /* m */
iconst_1
isub
aaload
iconst_0
dup2
daload
ldc 2.0
dload 6 /* h */
dmul
dconst_1
dsub
iload 5 /* m */
invokestatic org.apache.commons.math3.util.FastMath.pow:(DI)D
dadd
dastore
33: .line 894
StackMap locals:
StackMap stack:
iconst_0
istore 10 /* i */
start local 10 // int i
34: goto 46
35: .line 895
StackMap locals: int
StackMap stack:
iconst_0
istore 11 /* j */
start local 11 // int j
36: goto 44
37: .line 896
StackMap locals: int
StackMap stack:
iload 10 /* i */
iload 11 /* j */
isub
iconst_1
iadd
ifle 43
38: .line 897
iconst_2
istore 12 /* g */
start local 12 // int g
39: goto 42
40: .line 898
StackMap locals: int
StackMap stack:
aload 8 /* Hdata */
iload 10 /* i */
aaload
iload 11 /* j */
dup2
daload
iload 12 /* g */
i2d
ddiv
dastore
41: .line 897
iinc 12 /* g */ 1
StackMap locals:
StackMap stack:
42: iload 12 /* g */
iload 10 /* i */
iload 11 /* j */
isub
iconst_1
iadd
if_icmple 40
end local 12 // int g
43: .line 895
StackMap locals:
StackMap stack:
iinc 11 /* j */ 1
StackMap locals:
StackMap stack:
44: iload 11 /* j */
iload 10 /* i */
iconst_1
iadd
if_icmplt 37
end local 11 // int j
45: .line 894
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
46: iload 10 /* i */
iload 5 /* m */
if_icmplt 35
end local 10 // int i
47: .line 903
aload 8 /* Hdata */
invokestatic org.apache.commons.math3.linear.MatrixUtils.createRealMatrix:([[D)Lorg/apache/commons/math3/linear/RealMatrix;
areturn
end local 9 // double[] hPowers
end local 8 // double[][] Hdata
end local 6 // double h
end local 5 // int m
end local 4 // int k
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 48 1 d D
0 48 3 n I
1 48 4 k I
2 48 5 m I
3 48 6 h D
6 48 8 Hdata [[D
7 18 9 i I
9 16 10 j I
19 48 9 hPowers [D
21 25 10 i I
26 31 10 i I
34 47 10 i I
36 45 11 j I
39 43 12 g I
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException
MethodParameters:
Name Flags
d
n
private void checkArray(double[]);
descriptor: ([D)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=2, args_size=2
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double[] array
0: .line 914
aload 1 /* array */
ifnonnull 2
1: .line 915
new org.apache.commons.math3.exception.NullArgumentException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.NULL_NOT_ALLOWED:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.NullArgumentException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
2: .line 917
StackMap locals:
StackMap stack:
aload 1 /* array */
arraylength
iconst_2
if_icmpge 6
3: .line 918
new org.apache.commons.math3.exception.InsufficientDataException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.INSUFFICIENT_OBSERVED_POINTS_IN_SAMPLE:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1 /* array */
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
4: .line 919
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
5: .line 918
aastore
invokespecial org.apache.commons.math3.exception.InsufficientDataException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
6: .line 921
StackMap locals:
StackMap stack:
return
end local 1 // double[] array
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 7 1 array [D
MethodParameters:
Name Flags
array
public double ksSum(double, double, int);
descriptor: (DDI)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=15, args_size=4
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double t
start local 3 // double tolerance
start local 5 // int maxIterations
0: .line 936
dload 1 /* t */
dconst_0
dcmpl
ifne 2
1: .line 937
dconst_0
dreturn
2: .line 943
StackMap locals:
StackMap stack:
ldc -2.0
dload 1 /* t */
dmul
dload 1 /* t */
dmul
dstore 6 /* x */
start local 6 // double x
3: .line 944
iconst_m1
istore 8 /* sign */
start local 8 // int sign
4: .line 945
lconst_1
lstore 9 /* i */
start local 9 // long i
5: .line 946
ldc 0.5
dstore 11 /* partialSum */
start local 11 // double partialSum
6: .line 947
dconst_1
dstore 13 /* delta */
start local 13 // double delta
7: .line 948
goto 12
8: .line 949
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest double double int double int long double double
StackMap stack:
dload 6 /* x */
lload 9 /* i */
l2d
dmul
lload 9 /* i */
l2d
dmul
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
dstore 13 /* delta */
9: .line 950
dload 11 /* partialSum */
iload 8 /* sign */
i2d
dload 13 /* delta */
dmul
dadd
dstore 11 /* partialSum */
10: .line 951
iload 8 /* sign */
iconst_m1
imul
istore 8 /* sign */
11: .line 952
lload 9 /* i */
lconst_1
ladd
lstore 9 /* i */
12: .line 948
StackMap locals:
StackMap stack:
dload 13 /* delta */
dload 3 /* tolerance */
dcmpl
ifle 13
lload 9 /* i */
iload 5 /* maxIterations */
i2l
lcmp
iflt 8
13: .line 954
StackMap locals:
StackMap stack:
lload 9 /* i */
iload 5 /* maxIterations */
i2l
lcmp
ifne 15
14: .line 955
new org.apache.commons.math3.exception.TooManyIterationsException
dup
iload 5 /* maxIterations */
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.TooManyIterationsException.<init>:(Ljava/lang/Number;)V
athrow
15: .line 957
StackMap locals:
StackMap stack:
dload 11 /* partialSum */
ldc 2.0
dmul
dreturn
end local 13 // double delta
end local 11 // double partialSum
end local 9 // long i
end local 8 // int sign
end local 6 // double x
end local 5 // int maxIterations
end local 3 // double tolerance
end local 1 // double t
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 16 1 t D
0 16 3 tolerance D
0 16 5 maxIterations I
3 16 6 x D
4 16 8 sign I
5 16 9 i J
6 16 11 partialSum D
7 16 13 delta D
MethodParameters:
Name Flags
t
tolerance
maxIterations
private static long calculateIntegralD(double, int, int, boolean);
descriptor: (DIIZ)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=11, args_size=4
start local 0 // double d
start local 2 // int n
start local 3 // int m
start local 4 // boolean strict
0: .line 975
iload 2 /* n */
i2l
iload 3 /* m */
i2l
lmul
lstore 5 /* nm */
start local 5 // long nm
1: .line 976
dload 0 /* d */
ldc 1.0E-12
dsub
lload 5 /* nm */
l2d
dmul
invokestatic org.apache.commons.math3.util.FastMath.ceil:(D)D
d2l
lstore 7 /* upperBound */
start local 7 // long upperBound
2: .line 977
dload 0 /* d */
ldc 1.0E-12
dadd
lload 5 /* nm */
l2d
dmul
invokestatic org.apache.commons.math3.util.FastMath.floor:(D)D
d2l
lstore 9 /* lowerBound */
start local 9 // long lowerBound
3: .line 978
iload 4 /* strict */
ifeq 5
lload 9 /* lowerBound */
lload 7 /* upperBound */
lcmp
ifne 5
4: .line 979
lload 7 /* upperBound */
lconst_1
ladd
lreturn
5: .line 982
StackMap locals: long long long
StackMap stack:
lload 7 /* upperBound */
lreturn
end local 9 // long lowerBound
end local 7 // long upperBound
end local 5 // long nm
end local 4 // boolean strict
end local 3 // int m
end local 2 // int n
end local 0 // double d
LocalVariableTable:
Start End Slot Name Signature
0 6 0 d D
0 6 2 n I
0 6 3 m I
0 6 4 strict Z
1 6 5 nm J
2 6 7 upperBound J
3 6 9 lowerBound J
MethodParameters:
Name Flags
d
n
m
strict
public double exactP(double, int, int, boolean);
descriptor: (DIIZ)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=6, args_size=5
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
start local 4 // int m
start local 5 // boolean strict
0: .line 1003
dconst_1
iload 4 /* m */
iload 3 /* n */
iload 4 /* m */
iload 3 /* n */
dload 1 /* d */
iload 4 /* m */
iload 3 /* n */
iload 5 /* strict */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.calculateIntegralD:(DIIZ)J
iload 5 /* strict */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.n:(IIIIJZ)D
1: .line 1004
iload 3 /* n */
iload 4 /* m */
iadd
iload 4 /* m */
invokestatic org.apache.commons.math3.util.CombinatoricsUtils.binomialCoefficientDouble:(II)D
ddiv
2: .line 1003
dsub
dreturn
end local 5 // boolean strict
end local 4 // int m
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 3 1 d D
0 3 3 n I
0 3 4 m I
0 3 5 strict Z
MethodParameters:
Name Flags
d
n
m
strict
public double approximateP(double, int, int);
descriptor: (DII)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=9, args_size=4
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
start local 4 // int m
0: .line 1026
iload 4 /* m */
i2d
dstore 5 /* dm */
start local 5 // double dm
1: .line 1027
iload 3 /* n */
i2d
dstore 7 /* dn */
start local 7 // double dn
2: .line 1028
dconst_1
aload 0 /* this */
dload 1 /* d */
dload 5 /* dm */
dload 7 /* dn */
dmul
dload 5 /* dm */
dload 7 /* dn */
dadd
ddiv
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dmul
3: .line 1029
ldc 1.0E-20
ldc 100000
4: .line 1028
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.ksSum:(DDI)D
dsub
dreturn
end local 7 // double dn
end local 5 // double dm
end local 4 // int m
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 5 1 d D
0 5 3 n I
0 5 4 m I
1 5 5 dm D
2 5 7 dn D
MethodParameters:
Name Flags
d
n
m
static void fillBooleanArrayRandomlyWithFixedNumberTrueValues(boolean[], int, org.apache.commons.math3.random.RandomGenerator);
descriptor: ([ZILorg/apache/commons/math3/random/RandomGenerator;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 // boolean[] b
start local 1 // int numberOfTrueValues
start local 2 // org.apache.commons.math3.random.RandomGenerator rng
0: .line 1045
aload 0 /* b */
iconst_1
invokestatic java.util.Arrays.fill:([ZZ)V
1: .line 1046
iload 1 /* numberOfTrueValues */
istore 3 /* k */
start local 3 // int k
2: goto 8
3: .line 1047
StackMap locals: int
StackMap stack:
aload 2 /* rng */
iload 3 /* k */
iconst_1
iadd
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextInt:(I)I
istore 4 /* r */
start local 4 // int r
4: .line 1048
aload 0 /* b */
aload 0 /* b */
iload 4 /* r */
baload
ifeq 5
iload 4 /* r */
goto 6
StackMap locals: boolean[] int org.apache.commons.math3.random.RandomGenerator int int
StackMap stack: boolean[]
5: iload 3 /* k */
StackMap locals: boolean[] int org.apache.commons.math3.random.RandomGenerator int int
StackMap stack: boolean[] int
6: iconst_0
bastore
end local 4 // int r
7: .line 1046
iinc 3 /* k */ 1
StackMap locals:
StackMap stack:
8: iload 3 /* k */
aload 0 /* b */
arraylength
if_icmplt 3
end local 3 // int k
9: .line 1050
return
end local 2 // org.apache.commons.math3.random.RandomGenerator rng
end local 1 // int numberOfTrueValues
end local 0 // boolean[] b
LocalVariableTable:
Start End Slot Name Signature
0 10 0 b [Z
0 10 1 numberOfTrueValues I
0 10 2 rng Lorg/apache/commons/math3/random/RandomGenerator;
2 9 3 k I
4 7 4 r I
MethodParameters:
Name Flags
b final
numberOfTrueValues final
rng final
public double monteCarloP(double, int, int, boolean, int);
descriptor: (DIIZI)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // double d
start local 3 // int n
start local 4 // int m
start local 5 // boolean strict
start local 6 // int iterations
0: .line 1073
aload 0 /* this */
dload 1 /* d */
iload 3 /* n */
iload 4 /* m */
iload 5 /* strict */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.calculateIntegralD:(DIIZ)J
iload 3 /* n */
iload 4 /* m */
iload 6 /* iterations */
invokevirtual org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.integralMonteCarloP:(JIII)D
dreturn
end local 6 // int iterations
end local 5 // boolean strict
end local 4 // int m
end local 3 // int n
end local 1 // double d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 1 1 d D
0 1 3 n I
0 1 4 m I
0 1 5 strict Z
0 1 6 iterations I
MethodParameters:
Name Flags
d final
n final
m final
strict final
iterations final
private double integralMonteCarloP(long, int, int, int);
descriptor: (JIII)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=15, args_size=5
start local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
start local 1 // long d
start local 3 // int n
start local 4 // int m
start local 5 // int iterations
0: .line 1094
iload 3 /* n */
iload 4 /* m */
invokestatic org.apache.commons.math3.util.FastMath.max:(II)I
istore 6 /* nn */
start local 6 // int nn
1: .line 1095
iload 3 /* n */
iload 4 /* m */
invokestatic org.apache.commons.math3.util.FastMath.min:(II)I
istore 7 /* mm */
start local 7 // int mm
2: .line 1096
iload 6 /* nn */
iload 7 /* mm */
iadd
istore 8 /* sum */
start local 8 // int sum
3: .line 1098
iconst_0
istore 9 /* tail */
start local 9 // int tail
4: .line 1099
iload 8 /* sum */
newarray 4
astore 10 /* b */
start local 10 // boolean[] b
5: .line 1100
iconst_0
istore 11 /* i */
start local 11 // int i
6: goto 23
7: .line 1101
StackMap locals: org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest long int int int int int int int boolean[] int
StackMap stack:
aload 10 /* b */
iload 6 /* nn */
aload 0 /* this */
getfield org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.rng:Lorg/apache/commons/math3/random/RandomGenerator;
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.fillBooleanArrayRandomlyWithFixedNumberTrueValues:([ZILorg/apache/commons/math3/random/RandomGenerator;)V
8: .line 1102
lconst_0
lstore 12 /* curD */
start local 12 // long curD
9: .line 1103
iconst_0
istore 14 /* j */
start local 14 // int j
10: goto 21
11: .line 1104
StackMap locals: long int
StackMap stack:
aload 10 /* b */
iload 14 /* j */
baload
ifeq 16
12: .line 1105
lload 12 /* curD */
iload 7 /* mm */
i2l
ladd
lstore 12 /* curD */
13: .line 1106
lload 12 /* curD */
lload 1 /* d */
lcmp
iflt 20
14: .line 1107
iinc 9 /* tail */ 1
15: .line 1108
goto 22
16: .line 1111
StackMap locals:
StackMap stack:
lload 12 /* curD */
iload 6 /* nn */
i2l
lsub
lstore 12 /* curD */
17: .line 1112
lload 12 /* curD */
lload 1 /* d */
lneg
lcmp
ifgt 20
18: .line 1113
iinc 9 /* tail */ 1
19: .line 1114
goto 22
20: .line 1103
StackMap locals:
StackMap stack:
iinc 14 /* j */ 1
StackMap locals:
StackMap stack:
21: iload 14 /* j */
aload 10 /* b */
arraylength
if_icmplt 11
end local 14 // int j
end local 12 // long curD
22: .line 1100
StackMap locals:
StackMap stack:
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
23: iload 11 /* i */
iload 5 /* iterations */
if_icmplt 7
end local 11 // int i
24: .line 1119
iload 9 /* tail */
i2d
iload 5 /* iterations */
i2d
ddiv
dreturn
end local 10 // boolean[] b
end local 9 // int tail
end local 8 // int sum
end local 7 // int mm
end local 6 // int nn
end local 5 // int iterations
end local 4 // int m
end local 3 // int n
end local 1 // long d
end local 0 // org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest this
LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/commons/math3/stat/inference/KolmogorovSmirnovTest;
0 25 1 d J
0 25 3 n I
0 25 4 m I
0 25 5 iterations I
1 25 6 nn I
2 25 7 mm I
3 25 8 sum I
4 25 9 tail I
5 25 10 b [Z
6 24 11 i I
9 22 12 curD J
10 22 14 j I
MethodParameters:
Name Flags
d final
n final
m final
iterations final
private static void fixTies(double[], double[]);
descriptor: ([D[D)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=12, args_size=2
start local 0 // double[] x
start local 1 // double[] y
0: .line 1137
iconst_2
anewarray double[]
dup
iconst_0
aload 0 /* x */
aastore
dup
iconst_1
aload 1 /* y */
aastore
invokestatic org.apache.commons.math3.util.MathArrays.concatenate:([[D)[D
invokestatic org.apache.commons.math3.util.MathArrays.unique:([D)[D
astore 2 /* values */
start local 2 // double[] values
1: .line 1138
aload 2 /* values */
arraylength
aload 0 /* x */
arraylength
aload 1 /* y */
arraylength
iadd
if_icmpne 3
2: .line 1139
return
3: .line 1143
StackMap locals: double[]
StackMap stack:
dconst_1
dstore 3 /* minDelta */
start local 3 // double minDelta
4: .line 1144
aload 2 /* values */
iconst_0
daload
dstore 5 /* prev */
start local 5 // double prev
5: .line 1145
dconst_1
dstore 7 /* delta */
start local 7 // double delta
6: .line 1146
iconst_1
istore 9 /* i */
start local 9 // int i
7: goto 13
8: .line 1147
StackMap locals: double[] double[] double[] double double double int
StackMap stack:
dload 5 /* prev */
aload 2 /* values */
iload 9 /* i */
daload
dsub
dstore 7 /* delta */
9: .line 1148
dload 7 /* delta */
dload 3 /* minDelta */
dcmpg
ifge 11
10: .line 1149
dload 7 /* delta */
dstore 3 /* minDelta */
11: .line 1151
StackMap locals:
StackMap stack:
aload 2 /* values */
iload 9 /* i */
daload
dstore 5 /* prev */
12: .line 1146
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
13: iload 9 /* i */
aload 2 /* values */
arraylength
if_icmplt 8
end local 9 // int i
14: .line 1153
dload 3 /* minDelta */
ldc 2.0
ddiv
dstore 3 /* minDelta */
15: .line 1158
new org.apache.commons.math3.distribution.UniformRealDistribution
dup
new org.apache.commons.math3.random.JDKRandomGenerator
dup
bipush 100
invokespecial org.apache.commons.math3.random.JDKRandomGenerator.<init>:(I)V
dload 3 /* minDelta */
dneg
dload 3 /* minDelta */
invokespecial org.apache.commons.math3.distribution.UniformRealDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DD)V
16: .line 1157
astore 9 /* dist */
start local 9 // org.apache.commons.math3.distribution.RealDistribution dist
17: .line 1162
iconst_0
istore 10 /* ct */
start local 10 // int ct
18: .line 1163
iconst_1
istore 11 /* ties */
start local 11 // boolean ties
19: .line 1165
StackMap locals: double[] double[] double[] double double double org.apache.commons.math3.distribution.RealDistribution int int
StackMap stack:
aload 0 /* x */
aload 9 /* dist */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.jitter:([DLorg/apache/commons/math3/distribution/RealDistribution;)V
20: .line 1166
aload 1 /* y */
aload 9 /* dist */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.jitter:([DLorg/apache/commons/math3/distribution/RealDistribution;)V
21: .line 1167
aload 0 /* x */
aload 1 /* y */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.hasTies:([D[D)Z
istore 11 /* ties */
22: .line 1168
iinc 10 /* ct */ 1
23: .line 1169
iload 11 /* ties */
ifeq 25
iload 10 /* ct */
sipush 1000
24: .line 1164
if_icmplt 19
25: .line 1170
StackMap locals:
StackMap stack:
iload 11 /* ties */
ifeq 27
26: .line 1171
new org.apache.commons.math3.exception.MathInternalError
dup
invokespecial org.apache.commons.math3.exception.MathInternalError.<init>:()V
athrow
27: .line 1173
StackMap locals:
StackMap stack:
return
end local 11 // boolean ties
end local 10 // int ct
end local 9 // org.apache.commons.math3.distribution.RealDistribution dist
end local 7 // double delta
end local 5 // double prev
end local 3 // double minDelta
end local 2 // double[] values
end local 1 // double[] y
end local 0 // double[] x
LocalVariableTable:
Start End Slot Name Signature
0 28 0 x [D
0 28 1 y [D
1 28 2 values [D
4 28 3 minDelta D
5 28 5 prev D
6 28 7 delta D
7 14 9 i I
17 28 9 dist Lorg/apache/commons/math3/distribution/RealDistribution;
18 28 10 ct I
19 28 11 ties Z
MethodParameters:
Name Flags
x
y
private static boolean hasTies(double[], double[]);
descriptor: ([D[D)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 // double[] x
start local 1 // double[] y
0: .line 1184
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2 /* values */
start local 2 // java.util.HashSet values
1: .line 1185
iconst_0
istore 3 /* i */
start local 3 // int i
2: goto 6
3: .line 1186
StackMap locals: java.util.HashSet int
StackMap stack:
aload 2 /* values */
aload 0 /* x */
iload 3 /* i */
daload
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
ifne 5
4: .line 1187
iconst_1
ireturn
5: .line 1185
StackMap locals:
StackMap stack:
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
6: iload 3 /* i */
aload 0 /* x */
arraylength
if_icmplt 3
end local 3 // int i
7: .line 1190
iconst_0
istore 3 /* i */
start local 3 // int i
8: goto 12
9: .line 1191
StackMap locals:
StackMap stack:
aload 2 /* values */
aload 1 /* y */
iload 3 /* i */
daload
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
ifne 11
10: .line 1192
iconst_1
ireturn
11: .line 1190
StackMap locals:
StackMap stack:
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
12: iload 3 /* i */
aload 1 /* y */
arraylength
if_icmplt 9
end local 3 // int i
13: .line 1195
iconst_0
ireturn
end local 2 // java.util.HashSet values
end local 1 // double[] y
end local 0 // double[] x
LocalVariableTable:
Start End Slot Name Signature
0 14 0 x [D
0 14 1 y [D
1 14 2 values Ljava/util/HashSet<Ljava/lang/Double;>;
2 7 3 i I
8 13 3 i I
MethodParameters:
Name Flags
x
y
private static void jitter(double[], org.apache.commons.math3.distribution.RealDistribution);
descriptor: ([DLorg/apache/commons/math3/distribution/RealDistribution;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 // double[] data
start local 1 // org.apache.commons.math3.distribution.RealDistribution dist
0: .line 1209
iconst_0
istore 2 /* i */
start local 2 // int i
1: goto 4
2: .line 1210
StackMap locals: int
StackMap stack:
aload 0 /* data */
iload 2 /* i */
dup2
daload
aload 1 /* dist */
invokeinterface org.apache.commons.math3.distribution.RealDistribution.sample:()D
dadd
dastore
3: .line 1209
iinc 2 /* i */ 1
StackMap locals:
StackMap stack:
4: iload 2 /* i */
aload 0 /* data */
arraylength
if_icmplt 2
end local 2 // int i
5: .line 1212
return
end local 1 // org.apache.commons.math3.distribution.RealDistribution dist
end local 0 // double[] data
LocalVariableTable:
Start End Slot Name Signature
0 6 0 data [D
0 6 1 dist Lorg/apache/commons/math3/distribution/RealDistribution;
1 5 2 i I
MethodParameters:
Name Flags
data
dist
private static int c(int, int, int, int, long, boolean);
descriptor: (IIIIJZ)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=7, args_size=6
start local 0 // int i
start local 1 // int j
start local 2 // int m
start local 3 // int n
start local 4 // long cmn
start local 6 // boolean strict
0: .line 1229
iload 6 /* strict */
ifeq 4
1: .line 1230
iload 0 /* i */
i2l
iload 3 /* n */
i2l
lmul
iload 1 /* j */
i2l
iload 2 /* m */
i2l
lmul
lsub
invokestatic org.apache.commons.math3.util.FastMath.abs:(J)J
lload 4 /* cmn */
lcmp
ifgt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
4: .line 1232
StackMap locals:
StackMap stack:
iload 0 /* i */
i2l
iload 3 /* n */
i2l
lmul
iload 1 /* j */
i2l
iload 2 /* m */
i2l
lmul
lsub
invokestatic org.apache.commons.math3.util.FastMath.abs:(J)J
lload 4 /* cmn */
lcmp
ifge 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: ireturn
end local 6 // boolean strict
end local 4 // long cmn
end local 3 // int n
end local 2 // int m
end local 1 // int j
end local 0 // int i
LocalVariableTable:
Start End Slot Name Signature
0 7 0 i I
0 7 1 j I
0 7 2 m I
0 7 3 n I
0 7 4 cmn J
0 7 6 strict Z
MethodParameters:
Name Flags
i
j
m
n
cmn
strict
private static double n(int, int, int, int, long, boolean);
descriptor: (IIIIJZ)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=12, args_size=6
start local 0 // int i
start local 1 // int j
start local 2 // int m
start local 3 // int n
start local 4 // long cnm
start local 6 // boolean strict
0: .line 1256
iload 3 /* n */
newarray 7
astore 7 /* lag */
start local 7 // double[] lag
1: .line 1257
dconst_0
dstore 8 /* last */
start local 8 // double last
2: .line 1258
iconst_0
istore 10 /* k */
start local 10 // int k
3: goto 6
4: .line 1259
StackMap locals: double[] double int
StackMap stack:
aload 7 /* lag */
iload 10 /* k */
iconst_0
iload 10 /* k */
iconst_1
iadd
iload 2 /* m */
iload 3 /* n */
lload 4 /* cnm */
iload 6 /* strict */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.c:(IIIIJZ)I
i2d
dastore
5: .line 1258
iinc 10 /* k */ 1
StackMap locals:
StackMap stack:
6: iload 10 /* k */
iload 3 /* n */
if_icmplt 4
end local 10 // int k
7: .line 1261
iconst_1
istore 10 /* k */
start local 10 // int k
8: goto 17
9: .line 1262
StackMap locals:
StackMap stack:
iload 10 /* k */
iconst_0
iload 2 /* m */
iload 3 /* n */
lload 4 /* cnm */
iload 6 /* strict */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.c:(IIIIJZ)I
i2d
dstore 8 /* last */
10: .line 1263
iconst_1
istore 11 /* l */
start local 11 // int l
11: goto 15
12: .line 1264
StackMap locals: int
StackMap stack:
aload 7 /* lag */
iload 11 /* l */
iconst_1
isub
iload 10 /* k */
iload 11 /* l */
iload 2 /* m */
iload 3 /* n */
lload 4 /* cnm */
iload 6 /* strict */
invokestatic org.apache.commons.math3.stat.inference.KolmogorovSmirnovTest.c:(IIIIJZ)I
i2d
dload 8 /* last */
aload 7 /* lag */
iload 11 /* l */
iconst_1
isub
daload
dadd
dmul
dastore
13: .line 1265
aload 7 /* lag */
iload 11 /* l */
iconst_1
isub
daload
dstore 8 /* last */
14: .line 1263
iinc 11 /* l */ 1
StackMap locals:
StackMap stack:
15: iload 11 /* l */
iload 1 /* j */
if_icmple 12
end local 11 // int l
16: .line 1261
iinc 10 /* k */ 1
StackMap locals:
StackMap stack:
17: iload 10 /* k */
iload 0 /* i */
if_icmple 9
end local 10 // int k
18: .line 1268
dload 8 /* last */
dreturn
end local 8 // double last
end local 7 // double[] lag
end local 6 // boolean strict
end local 4 // long cnm
end local 3 // int n
end local 2 // int m
end local 1 // int j
end local 0 // int i
LocalVariableTable:
Start End Slot Name Signature
0 19 0 i I
0 19 1 j I
0 19 2 m I
0 19 3 n I
0 19 4 cnm J
0 19 6 strict Z
1 19 7 lag [D
2 19 8 last D
3 7 10 k I
8 18 10 k I
11 16 11 l I
MethodParameters:
Name Flags
i
j
m
n
cnm
strict
}
SourceFile: "KolmogorovSmirnovTest.java"