public class org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser
super_class: java.lang.Object
{
private final double a;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double omega;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double phi;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.commons.math3.fitting.WeightedObservedPoint[]);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
start local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
0: .line 197
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 198
aload 1 /* observations */
arraylength
iconst_4
if_icmpge 5
2: .line 199
new org.apache.commons.math3.exception.NumberIsTooSmallException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.INSUFFICIENT_OBSERVED_POINTS_IN_SAMPLE:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
3: .line 200
aload 1 /* observations */
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
4: .line 199
invokespecial org.apache.commons.math3.exception.NumberIsTooSmallException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
5: .line 203
StackMap locals: org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser org.apache.commons.math3.fitting.WeightedObservedPoint[]
StackMap stack:
aload 0 /* this */
aload 1 /* observations */
invokevirtual org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.sortObservations:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
astore 2 /* sorted */
start local 2 // org.apache.commons.math3.fitting.WeightedObservedPoint[] sorted
6: .line 205
aload 0 /* this */
aload 2 /* sorted */
invokevirtual org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.guessAOmega:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[D
astore 3 /* aOmega */
start local 3 // double[] aOmega
7: .line 206
aload 0 /* this */
aload 3 /* aOmega */
iconst_0
daload
putfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.a:D
8: .line 207
aload 0 /* this */
aload 3 /* aOmega */
iconst_1
daload
putfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.omega:D
9: .line 209
aload 0 /* this */
aload 0 /* this */
aload 2 /* sorted */
invokevirtual org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.guessPhi:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)D
putfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.phi:D
10: .line 210
return
end local 3 // double[] aOmega
end local 2 // org.apache.commons.math3.fitting.WeightedObservedPoint[] sorted
end local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
end local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/math3/fitting/HarmonicFitter$ParameterGuesser;
0 11 1 observations [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
6 11 2 sorted [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
7 11 3 aOmega [D
MethodParameters:
Name Flags
observations
public double[] guess();
descriptor: ()[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
0: .line 223
iconst_3
newarray 7
dup
iconst_0
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.a:D
dastore
dup
iconst_1
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.omega:D
dastore
dup
iconst_2
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.phi:D
dastore
areturn
end local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/fitting/HarmonicFitter$ParameterGuesser;
private org.apache.commons.math3.fitting.WeightedObservedPoint[] sortObservations(org.apache.commons.math3.fitting.WeightedObservedPoint[]);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
start local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] unsorted
0: .line 233
aload 1 /* unsorted */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint[].clone:()Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint[]
astore 2 /* observations */
start local 2 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
1: .line 238
aload 2 /* observations */
iconst_0
aaload
astore 3 /* curr */
start local 3 // org.apache.commons.math3.fitting.WeightedObservedPoint curr
2: .line 239
iconst_1
istore 4 /* j */
start local 4 // int j
3: goto 17
4: .line 240
StackMap locals: org.apache.commons.math3.fitting.WeightedObservedPoint[] org.apache.commons.math3.fitting.WeightedObservedPoint int
StackMap stack:
aload 3 /* curr */
astore 5 /* prec */
start local 5 // org.apache.commons.math3.fitting.WeightedObservedPoint prec
5: .line 241
aload 2 /* observations */
iload 4 /* j */
aaload
astore 3 /* curr */
6: .line 242
aload 3 /* curr */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
aload 5 /* prec */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dcmpg
ifge 16
7: .line 244
iload 4 /* j */
iconst_1
isub
istore 6 /* i */
start local 6 // int i
8: .line 245
aload 2 /* observations */
iload 6 /* i */
aaload
astore 7 /* mI */
start local 7 // org.apache.commons.math3.fitting.WeightedObservedPoint mI
9: .line 246
goto 13
10: .line 247
StackMap locals: org.apache.commons.math3.fitting.WeightedObservedPoint int org.apache.commons.math3.fitting.WeightedObservedPoint
StackMap stack:
aload 2 /* observations */
iload 6 /* i */
iconst_1
iadd
aload 7 /* mI */
aastore
11: .line 248
iload 6 /* i */
iinc 6 /* i */ -1
ifeq 13
12: .line 249
aload 2 /* observations */
iload 6 /* i */
aaload
astore 7 /* mI */
13: .line 246
StackMap locals:
StackMap stack:
iload 6 /* i */
iflt 14
aload 3 /* curr */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
aload 7 /* mI */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dcmpg
iflt 10
14: .line 252
StackMap locals:
StackMap stack:
aload 2 /* observations */
iload 6 /* i */
iconst_1
iadd
aload 3 /* curr */
aastore
15: .line 253
aload 2 /* observations */
iload 4 /* j */
aaload
astore 3 /* curr */
end local 7 // org.apache.commons.math3.fitting.WeightedObservedPoint mI
end local 6 // int i
end local 5 // org.apache.commons.math3.fitting.WeightedObservedPoint prec
16: .line 239
StackMap locals:
StackMap stack:
iinc 4 /* j */ 1
StackMap locals:
StackMap stack:
17: iload 4 /* j */
aload 2 /* observations */
arraylength
if_icmplt 4
end local 4 // int j
18: .line 257
aload 2 /* observations */
areturn
end local 3 // org.apache.commons.math3.fitting.WeightedObservedPoint curr
end local 2 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
end local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] unsorted
end local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/commons/math3/fitting/HarmonicFitter$ParameterGuesser;
0 19 1 unsorted [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
1 19 2 observations [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
2 19 3 curr Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
3 18 4 j I
5 16 5 prec Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
8 16 6 i I
9 16 7 mI Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
MethodParameters:
Name Flags
unsorted
private double[] guessAOmega(org.apache.commons.math3.fitting.WeightedObservedPoint[]);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[D
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=39, args_size=2
start local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
start local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
0: .line 273
iconst_2
newarray 7
astore 2 /* aOmega */
start local 2 // double[] aOmega
1: .line 276
dconst_0
dstore 3 /* sx2 */
start local 3 // double sx2
2: .line 277
dconst_0
dstore 5 /* sy2 */
start local 5 // double sy2
3: .line 278
dconst_0
dstore 7 /* sxy */
start local 7 // double sxy
4: .line 279
dconst_0
dstore 9 /* sxz */
start local 9 // double sxz
5: .line 280
dconst_0
dstore 11 /* syz */
start local 11 // double syz
6: .line 282
aload 1 /* observations */
iconst_0
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dstore 13 /* currentX */
start local 13 // double currentX
7: .line 283
aload 1 /* observations */
iconst_0
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dstore 15 /* currentY */
start local 15 // double currentY
8: .line 284
dconst_0
dstore 17 /* f2Integral */
start local 17 // double f2Integral
9: .line 285
dconst_0
dstore 19 /* fPrime2Integral */
start local 19 // double fPrime2Integral
10: .line 286
dload 13 /* currentX */
dstore 21 /* startX */
start local 21 // double startX
11: .line 287
iconst_1
istore 23 /* i */
start local 23 // int i
12: goto 31
13: .line 289
StackMap locals: org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser org.apache.commons.math3.fitting.WeightedObservedPoint[] double[] double double double double double double double double double double int
StackMap stack:
dload 13 /* currentX */
dstore 24 /* previousX */
start local 24 // double previousX
14: .line 290
dload 15 /* currentY */
dstore 26 /* previousY */
start local 26 // double previousY
15: .line 291
aload 1 /* observations */
iload 23 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dstore 13 /* currentX */
16: .line 292
aload 1 /* observations */
iload 23 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dstore 15 /* currentY */
17: .line 296
dload 13 /* currentX */
dload 24 /* previousX */
dsub
dstore 28 /* dx */
start local 28 // double dx
18: .line 297
dload 15 /* currentY */
dload 26 /* previousY */
dsub
dstore 30 /* dy */
start local 30 // double dy
19: .line 299
dload 28 /* dx */
dload 26 /* previousY */
dload 26 /* previousY */
dmul
dload 26 /* previousY */
dload 15 /* currentY */
dmul
dadd
dload 15 /* currentY */
dload 15 /* currentY */
dmul
dadd
dmul
ldc 3.0
ddiv
20: .line 298
dstore 32 /* f2StepIntegral */
start local 32 // double f2StepIntegral
21: .line 300
dload 30 /* dy */
dload 30 /* dy */
dmul
dload 28 /* dx */
ddiv
dstore 34 /* fPrime2StepIntegral */
start local 34 // double fPrime2StepIntegral
22: .line 302
dload 13 /* currentX */
dload 21 /* startX */
dsub
dstore 36 /* x */
start local 36 // double x
23: .line 303
dload 17 /* f2Integral */
dload 32 /* f2StepIntegral */
dadd
dstore 17 /* f2Integral */
24: .line 304
dload 19 /* fPrime2Integral */
dload 34 /* fPrime2StepIntegral */
dadd
dstore 19 /* fPrime2Integral */
25: .line 306
dload 3 /* sx2 */
dload 36 /* x */
dload 36 /* x */
dmul
dadd
dstore 3 /* sx2 */
26: .line 307
dload 5 /* sy2 */
dload 17 /* f2Integral */
dload 17 /* f2Integral */
dmul
dadd
dstore 5 /* sy2 */
27: .line 308
dload 7 /* sxy */
dload 36 /* x */
dload 17 /* f2Integral */
dmul
dadd
dstore 7 /* sxy */
28: .line 309
dload 9 /* sxz */
dload 36 /* x */
dload 19 /* fPrime2Integral */
dmul
dadd
dstore 9 /* sxz */
29: .line 310
dload 11 /* syz */
dload 17 /* f2Integral */
dload 19 /* fPrime2Integral */
dmul
dadd
dstore 11 /* syz */
end local 36 // double x
end local 34 // double fPrime2StepIntegral
end local 32 // double f2StepIntegral
end local 30 // double dy
end local 28 // double dx
end local 26 // double previousY
end local 24 // double previousX
30: .line 287
iinc 23 /* i */ 1
StackMap locals:
StackMap stack:
31: iload 23 /* i */
aload 1 /* observations */
arraylength
if_icmplt 13
end local 23 // int i
32: .line 314
dload 5 /* sy2 */
dload 9 /* sxz */
dmul
dload 7 /* sxy */
dload 11 /* syz */
dmul
dsub
dstore 23 /* c1 */
start local 23 // double c1
33: .line 315
dload 7 /* sxy */
dload 9 /* sxz */
dmul
dload 3 /* sx2 */
dload 11 /* syz */
dmul
dsub
dstore 25 /* c2 */
start local 25 // double c2
34: .line 316
dload 3 /* sx2 */
dload 5 /* sy2 */
dmul
dload 7 /* sxy */
dload 7 /* sxy */
dmul
dsub
dstore 27 /* c3 */
start local 27 // double c3
35: .line 317
dload 23 /* c1 */
dload 25 /* c2 */
ddiv
dconst_0
dcmpg
iflt 36
dload 25 /* c2 */
dload 27 /* c3 */
ddiv
dconst_0
dcmpg
ifge 54
36: .line 318
StackMap locals: org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser org.apache.commons.math3.fitting.WeightedObservedPoint[] double[] double double double double double double double double double double double double double
StackMap stack:
aload 1 /* observations */
arraylength
iconst_1
isub
istore 29 /* last */
start local 29 // int last
37: .line 321
aload 1 /* observations */
iload 29 /* last */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
aload 1 /* observations */
iconst_0
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dsub
dstore 30 /* xRange */
start local 30 // double xRange
38: .line 322
dload 30 /* xRange */
dconst_0
dcmpl
ifne 40
39: .line 323
new org.apache.commons.math3.exception.ZeroException
dup
invokespecial org.apache.commons.math3.exception.ZeroException.<init>:()V
athrow
40: .line 325
StackMap locals: int double
StackMap stack:
aload 2 /* aOmega */
iconst_1
ldc 6.283185307179586
dload 30 /* xRange */
ddiv
dastore
41: .line 327
ldc Infinity
dstore 32 /* yMin */
start local 32 // double yMin
42: .line 328
ldc -Infinity
dstore 34 /* yMax */
start local 34 // double yMax
43: .line 329
iconst_1
istore 36 /* i */
start local 36 // int i
44: goto 51
45: .line 330
StackMap locals: double double int
StackMap stack:
aload 1 /* observations */
iload 36 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dstore 37 /* y */
start local 37 // double y
46: .line 331
dload 37 /* y */
dload 32 /* yMin */
dcmpg
ifge 48
47: .line 332
dload 37 /* y */
dstore 32 /* yMin */
48: .line 334
StackMap locals: double
StackMap stack:
dload 37 /* y */
dload 34 /* yMax */
dcmpl
ifle 50
49: .line 335
dload 37 /* y */
dstore 34 /* yMax */
end local 37 // double y
50: .line 329
StackMap locals:
StackMap stack:
iinc 36 /* i */ 1
StackMap locals:
StackMap stack:
51: iload 36 /* i */
aload 1 /* observations */
arraylength
if_icmplt 45
end local 36 // int i
52: .line 338
aload 2 /* aOmega */
iconst_0
ldc 0.5
dload 34 /* yMax */
dload 32 /* yMin */
dsub
dmul
dastore
end local 34 // double yMax
end local 32 // double yMin
end local 30 // double xRange
end local 29 // int last
53: .line 339
goto 58
54: .line 340
StackMap locals: org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser org.apache.commons.math3.fitting.WeightedObservedPoint[] double[] double double double double double double double double double double double double double
StackMap stack:
dload 25 /* c2 */
dconst_0
dcmpl
ifne 56
55: .line 343
new org.apache.commons.math3.exception.MathIllegalStateException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.ZERO_DENOMINATOR:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.MathIllegalStateException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
56: .line 346
StackMap locals:
StackMap stack:
aload 2 /* aOmega */
iconst_0
dload 23 /* c1 */
dload 25 /* c2 */
ddiv
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dastore
57: .line 347
aload 2 /* aOmega */
iconst_1
dload 25 /* c2 */
dload 27 /* c3 */
ddiv
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dastore
58: .line 350
StackMap locals:
StackMap stack:
aload 2 /* aOmega */
areturn
end local 27 // double c3
end local 25 // double c2
end local 23 // double c1
end local 21 // double startX
end local 19 // double fPrime2Integral
end local 17 // double f2Integral
end local 15 // double currentY
end local 13 // double currentX
end local 11 // double syz
end local 9 // double sxz
end local 7 // double sxy
end local 5 // double sy2
end local 3 // double sx2
end local 2 // double[] aOmega
end local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
end local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lorg/apache/commons/math3/fitting/HarmonicFitter$ParameterGuesser;
0 59 1 observations [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
1 59 2 aOmega [D
2 59 3 sx2 D
3 59 5 sy2 D
4 59 7 sxy D
5 59 9 sxz D
6 59 11 syz D
7 59 13 currentX D
8 59 15 currentY D
9 59 17 f2Integral D
10 59 19 fPrime2Integral D
11 59 21 startX D
12 32 23 i I
14 30 24 previousX D
15 30 26 previousY D
18 30 28 dx D
19 30 30 dy D
21 30 32 f2StepIntegral D
22 30 34 fPrime2StepIntegral D
23 30 36 x D
33 59 23 c1 D
34 59 25 c2 D
35 59 27 c3 D
37 53 29 last I
38 53 30 xRange D
42 53 32 yMin D
43 53 34 yMax D
44 52 36 i I
46 50 37 y D
MethodParameters:
Name Flags
observations
private double guessPhi(org.apache.commons.math3.fitting.WeightedObservedPoint[]);
descriptor: ([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=23, args_size=2
start local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
start local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
0: .line 361
dconst_0
dstore 2 /* fcMean */
start local 2 // double fcMean
1: .line 362
dconst_0
dstore 4 /* fsMean */
start local 4 // double fsMean
2: .line 364
aload 1 /* observations */
iconst_0
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dstore 6 /* currentX */
start local 6 // double currentX
3: .line 365
aload 1 /* observations */
iconst_0
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dstore 8 /* currentY */
start local 8 // double currentY
4: .line 366
iconst_1
istore 10 /* i */
start local 10 // int i
5: goto 17
6: .line 368
StackMap locals: org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser org.apache.commons.math3.fitting.WeightedObservedPoint[] double double double double int
StackMap stack:
dload 6 /* currentX */
dstore 11 /* previousX */
start local 11 // double previousX
7: .line 369
dload 8 /* currentY */
dstore 13 /* previousY */
start local 13 // double previousY
8: .line 370
aload 1 /* observations */
iload 10 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dstore 6 /* currentX */
9: .line 371
aload 1 /* observations */
iload 10 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dstore 8 /* currentY */
10: .line 372
dload 8 /* currentY */
dload 13 /* previousY */
dsub
dload 6 /* currentX */
dload 11 /* previousX */
dsub
ddiv
dstore 15 /* currentYPrime */
start local 15 // double currentYPrime
11: .line 374
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.omega:D
dload 6 /* currentX */
dmul
dstore 17 /* omegaX */
start local 17 // double omegaX
12: .line 375
dload 17 /* omegaX */
invokestatic org.apache.commons.math3.util.FastMath.cos:(D)D
dstore 19 /* cosine */
start local 19 // double cosine
13: .line 376
dload 17 /* omegaX */
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dstore 21 /* sine */
start local 21 // double sine
14: .line 377
dload 2 /* fcMean */
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.omega:D
dload 8 /* currentY */
dmul
dload 19 /* cosine */
dmul
dload 15 /* currentYPrime */
dload 21 /* sine */
dmul
dsub
dadd
dstore 2 /* fcMean */
15: .line 378
dload 4 /* fsMean */
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser.omega:D
dload 8 /* currentY */
dmul
dload 21 /* sine */
dmul
dload 15 /* currentYPrime */
dload 19 /* cosine */
dmul
dadd
dadd
dstore 4 /* fsMean */
end local 21 // double sine
end local 19 // double cosine
end local 17 // double omegaX
end local 15 // double currentYPrime
end local 13 // double previousY
end local 11 // double previousX
16: .line 366
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
17: iload 10 /* i */
aload 1 /* observations */
arraylength
if_icmplt 6
end local 10 // int i
18: .line 381
dload 4 /* fsMean */
dneg
dload 2 /* fcMean */
invokestatic org.apache.commons.math3.util.FastMath.atan2:(DD)D
dreturn
end local 8 // double currentY
end local 6 // double currentX
end local 4 // double fsMean
end local 2 // double fcMean
end local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
end local 0 // org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/commons/math3/fitting/HarmonicFitter$ParameterGuesser;
0 19 1 observations [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
1 19 2 fcMean D
2 19 4 fsMean D
3 19 6 currentX D
4 19 8 currentY D
5 18 10 i I
7 16 11 previousX D
8 16 13 previousY D
11 16 15 currentYPrime D
12 16 17 omegaX D
13 16 19 cosine D
14 16 21 sine D
MethodParameters:
Name Flags
observations
}
SourceFile: "HarmonicFitter.java"
NestHost: org.apache.commons.math3.fitting.HarmonicFitter
InnerClasses:
public ParameterGuesser = org.apache.commons.math3.fitting.HarmonicFitter$ParameterGuesser of org.apache.commons.math3.fitting.HarmonicFitter