public class org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.fitting.HarmonicCurveFitter$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>(java.util.Collection<org.apache.commons.math3.fitting.WeightedObservedPoint>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 // org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser this
start local 1 // java.util.Collection observations
0: .line 258
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 259
aload 1 /* observations */
invokeinterface java.util.Collection.size:()I
iconst_4
if_icmpge 5
2: .line 260
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 261
aload 1 /* observations */
invokeinterface java.util.Collection.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
4: .line 260
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 265
StackMap locals: org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser java.util.Collection
StackMap stack:
aload 0 /* this */
aload 1 /* observations */
invokevirtual org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.sortObservations:(Ljava/util/Collection;)Ljava/util/List;
iconst_0
anewarray org.apache.commons.math3.fitting.WeightedObservedPoint
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint[]
6: .line 264
astore 2 /* sorted */
start local 2 // org.apache.commons.math3.fitting.WeightedObservedPoint[] sorted
7: .line 267
aload 0 /* this */
aload 2 /* sorted */
invokevirtual org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.guessAOmega:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)[D
astore 3 /* aOmega */
start local 3 // double[] aOmega
8: .line 268
aload 0 /* this */
aload 3 /* aOmega */
iconst_0
daload
putfield org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.a:D
9: .line 269
aload 0 /* this */
aload 3 /* aOmega */
iconst_1
daload
putfield org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.omega:D
10: .line 271
aload 0 /* this */
aload 0 /* this */
aload 2 /* sorted */
invokevirtual org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.guessPhi:([Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)D
putfield org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.phi:D
11: .line 272
return
end local 3 // double[] aOmega
end local 2 // org.apache.commons.math3.fitting.WeightedObservedPoint[] sorted
end local 1 // java.util.Collection observations
end local 0 // org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/math3/fitting/HarmonicCurveFitter$ParameterGuesser;
0 12 1 observations Ljava/util/Collection<Lorg/apache/commons/math3/fitting/WeightedObservedPoint;>;
7 12 2 sorted [Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
8 12 3 aOmega [D
Signature: (Ljava/util/Collection<Lorg/apache/commons/math3/fitting/WeightedObservedPoint;>;)V
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.HarmonicCurveFitter$ParameterGuesser this
0: .line 285
iconst_3
newarray 7
dup
iconst_0
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.a:D
dastore
dup
iconst_1
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.omega:D
dastore
dup
iconst_2
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.phi:D
dastore
areturn
end local 0 // org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/fitting/HarmonicCurveFitter$ParameterGuesser;
private java.util.List<org.apache.commons.math3.fitting.WeightedObservedPoint> sortObservations(java.util.Collection<org.apache.commons.math3.fitting.WeightedObservedPoint>);
descriptor: (Ljava/util/Collection;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=2
start local 0 // org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser this
start local 1 // java.util.Collection unsorted
0: .line 295
new java.util.ArrayList
dup
aload 1 /* unsorted */
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2 /* observations */
start local 2 // java.util.List observations
1: .line 300
aload 2 /* observations */
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint
astore 3 /* curr */
start local 3 // org.apache.commons.math3.fitting.WeightedObservedPoint curr
2: .line 301
aload 2 /* observations */
invokeinterface java.util.List.size:()I
istore 4 /* len */
start local 4 // int len
3: .line 302
iconst_1
istore 5 /* j */
start local 5 // int j
4: goto 18
5: .line 303
StackMap locals: org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser java.util.Collection java.util.List org.apache.commons.math3.fitting.WeightedObservedPoint int int
StackMap stack:
aload 3 /* curr */
astore 6 /* prec */
start local 6 // org.apache.commons.math3.fitting.WeightedObservedPoint prec
6: .line 304
aload 2 /* observations */
iload 5 /* j */
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint
astore 3 /* curr */
7: .line 305
aload 3 /* curr */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
aload 6 /* prec */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dcmpg
ifge 17
8: .line 307
iload 5 /* j */
iconst_1
isub
istore 7 /* i */
start local 7 // int i
9: .line 308
aload 2 /* observations */
iload 7 /* i */
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint
astore 8 /* mI */
start local 8 // org.apache.commons.math3.fitting.WeightedObservedPoint mI
10: .line 309
goto 14
11: .line 310
StackMap locals: org.apache.commons.math3.fitting.WeightedObservedPoint int org.apache.commons.math3.fitting.WeightedObservedPoint
StackMap stack:
aload 2 /* observations */
iload 7 /* i */
iconst_1
iadd
aload 8 /* mI */
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
12: .line 311
iload 7 /* i */
iinc 7 /* i */ -1
ifeq 14
13: .line 312
aload 2 /* observations */
iload 7 /* i */
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint
astore 8 /* mI */
14: .line 309
StackMap locals:
StackMap stack:
iload 7 /* i */
iflt 15
aload 3 /* curr */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
aload 8 /* mI */
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dcmpg
iflt 11
15: .line 315
StackMap locals:
StackMap stack:
aload 2 /* observations */
iload 7 /* i */
iconst_1
iadd
aload 3 /* curr */
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
16: .line 316
aload 2 /* observations */
iload 5 /* j */
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint
astore 3 /* curr */
end local 8 // org.apache.commons.math3.fitting.WeightedObservedPoint mI
end local 7 // int i
end local 6 // org.apache.commons.math3.fitting.WeightedObservedPoint prec
17: .line 302
StackMap locals:
StackMap stack:
iinc 5 /* j */ 1
StackMap locals:
StackMap stack:
18: iload 5 /* j */
iload 4 /* len */
if_icmplt 5
end local 5 // int j
19: .line 320
aload 2 /* observations */
areturn
end local 4 // int len
end local 3 // org.apache.commons.math3.fitting.WeightedObservedPoint curr
end local 2 // java.util.List observations
end local 1 // java.util.Collection unsorted
end local 0 // org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/commons/math3/fitting/HarmonicCurveFitter$ParameterGuesser;
0 20 1 unsorted Ljava/util/Collection<Lorg/apache/commons/math3/fitting/WeightedObservedPoint;>;
1 20 2 observations Ljava/util/List<Lorg/apache/commons/math3/fitting/WeightedObservedPoint;>;
2 20 3 curr Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
3 20 4 len I
4 19 5 j I
6 17 6 prec Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
9 17 7 i I
10 17 8 mI Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
Signature: (Ljava/util/Collection<Lorg/apache/commons/math3/fitting/WeightedObservedPoint;>;)Ljava/util/List<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.HarmonicCurveFitter$ParameterGuesser this
start local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
0: .line 334
iconst_2
newarray 7
astore 2 /* aOmega */
start local 2 // double[] aOmega
1: .line 337
dconst_0
dstore 3 /* sx2 */
start local 3 // double sx2
2: .line 338
dconst_0
dstore 5 /* sy2 */
start local 5 // double sy2
3: .line 339
dconst_0
dstore 7 /* sxy */
start local 7 // double sxy
4: .line 340
dconst_0
dstore 9 /* sxz */
start local 9 // double sxz
5: .line 341
dconst_0
dstore 11 /* syz */
start local 11 // double syz
6: .line 343
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 344
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 345
dconst_0
dstore 17 /* f2Integral */
start local 17 // double f2Integral
9: .line 346
dconst_0
dstore 19 /* fPrime2Integral */
start local 19 // double fPrime2Integral
10: .line 347
dload 13 /* currentX */
dstore 21 /* startX */
start local 21 // double startX
11: .line 348
iconst_1
istore 23 /* i */
start local 23 // int i
12: goto 31
13: .line 350
StackMap locals: org.apache.commons.math3.fitting.HarmonicCurveFitter$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 351
dload 15 /* currentY */
dstore 26 /* previousY */
start local 26 // double previousY
15: .line 352
aload 1 /* observations */
iload 23 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dstore 13 /* currentX */
16: .line 353
aload 1 /* observations */
iload 23 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dstore 15 /* currentY */
17: .line 357
dload 13 /* currentX */
dload 24 /* previousX */
dsub
dstore 28 /* dx */
start local 28 // double dx
18: .line 358
dload 15 /* currentY */
dload 26 /* previousY */
dsub
dstore 30 /* dy */
start local 30 // double dy
19: .line 360
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 359
dstore 32 /* f2StepIntegral */
start local 32 // double f2StepIntegral
21: .line 361
dload 30 /* dy */
dload 30 /* dy */
dmul
dload 28 /* dx */
ddiv
dstore 34 /* fPrime2StepIntegral */
start local 34 // double fPrime2StepIntegral
22: .line 363
dload 13 /* currentX */
dload 21 /* startX */
dsub
dstore 36 /* x */
start local 36 // double x
23: .line 364
dload 17 /* f2Integral */
dload 32 /* f2StepIntegral */
dadd
dstore 17 /* f2Integral */
24: .line 365
dload 19 /* fPrime2Integral */
dload 34 /* fPrime2StepIntegral */
dadd
dstore 19 /* fPrime2Integral */
25: .line 367
dload 3 /* sx2 */
dload 36 /* x */
dload 36 /* x */
dmul
dadd
dstore 3 /* sx2 */
26: .line 368
dload 5 /* sy2 */
dload 17 /* f2Integral */
dload 17 /* f2Integral */
dmul
dadd
dstore 5 /* sy2 */
27: .line 369
dload 7 /* sxy */
dload 36 /* x */
dload 17 /* f2Integral */
dmul
dadd
dstore 7 /* sxy */
28: .line 370
dload 9 /* sxz */
dload 36 /* x */
dload 19 /* fPrime2Integral */
dmul
dadd
dstore 9 /* sxz */
29: .line 371
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 348
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 375
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 376
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 377
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 378
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 379
StackMap locals: org.apache.commons.math3.fitting.HarmonicCurveFitter$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 382
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 383
dload 30 /* xRange */
dconst_0
dcmpl
ifne 40
39: .line 384
new org.apache.commons.math3.exception.ZeroException
dup
invokespecial org.apache.commons.math3.exception.ZeroException.<init>:()V
athrow
40: .line 386
StackMap locals: int double
StackMap stack:
aload 2 /* aOmega */
iconst_1
ldc 6.283185307179586
dload 30 /* xRange */
ddiv
dastore
41: .line 388
ldc Infinity
dstore 32 /* yMin */
start local 32 // double yMin
42: .line 389
ldc -Infinity
dstore 34 /* yMax */
start local 34 // double yMax
43: .line 390
iconst_1
istore 36 /* i */
start local 36 // int i
44: goto 51
45: .line 391
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 392
dload 37 /* y */
dload 32 /* yMin */
dcmpg
ifge 48
47: .line 393
dload 37 /* y */
dstore 32 /* yMin */
48: .line 395
StackMap locals: double
StackMap stack:
dload 37 /* y */
dload 34 /* yMax */
dcmpl
ifle 50
49: .line 396
dload 37 /* y */
dstore 34 /* yMax */
end local 37 // double y
50: .line 390
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 399
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 400
goto 58
54: .line 401
StackMap locals: org.apache.commons.math3.fitting.HarmonicCurveFitter$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 404
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 407
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 408
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 411
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.HarmonicCurveFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lorg/apache/commons/math3/fitting/HarmonicCurveFitter$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.HarmonicCurveFitter$ParameterGuesser this
start local 1 // org.apache.commons.math3.fitting.WeightedObservedPoint[] observations
0: .line 422
dconst_0
dstore 2 /* fcMean */
start local 2 // double fcMean
1: .line 423
dconst_0
dstore 4 /* fsMean */
start local 4 // double fsMean
2: .line 425
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 426
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 427
iconst_1
istore 10 /* i */
start local 10 // int i
5: goto 17
6: .line 429
StackMap locals: org.apache.commons.math3.fitting.HarmonicCurveFitter$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 430
dload 8 /* currentY */
dstore 13 /* previousY */
start local 13 // double previousY
8: .line 431
aload 1 /* observations */
iload 10 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getX:()D
dstore 6 /* currentX */
9: .line 432
aload 1 /* observations */
iload 10 /* i */
aaload
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dstore 8 /* currentY */
10: .line 433
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 435
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser.omega:D
dload 6 /* currentX */
dmul
dstore 17 /* omegaX */
start local 17 // double omegaX
12: .line 436
dload 17 /* omegaX */
invokestatic org.apache.commons.math3.util.FastMath.cos:(D)D
dstore 19 /* cosine */
start local 19 // double cosine
13: .line 437
dload 17 /* omegaX */
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dstore 21 /* sine */
start local 21 // double sine
14: .line 438
dload 2 /* fcMean */
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicCurveFitter$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 439
dload 4 /* fsMean */
aload 0 /* this */
getfield org.apache.commons.math3.fitting.HarmonicCurveFitter$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 427
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 442
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.HarmonicCurveFitter$ParameterGuesser this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/commons/math3/fitting/HarmonicCurveFitter$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: "HarmonicCurveFitter.java"
NestHost: org.apache.commons.math3.fitting.HarmonicCurveFitter
InnerClasses:
public ParameterGuesser = org.apache.commons.math3.fitting.HarmonicCurveFitter$ParameterGuesser of org.apache.commons.math3.fitting.HarmonicCurveFitter