public class org.apache.commons.math3.fitting.CurveFitter<T extends org.apache.commons.math3.analysis.ParametricUnivariateFunction>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.fitting.CurveFitter
super_class: java.lang.Object
{
private final org.apache.commons.math3.optim.nonlinear.vector.MultivariateVectorOptimizer optimizer;
descriptor: Lorg/apache/commons/math3/optim/nonlinear/vector/MultivariateVectorOptimizer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.apache.commons.math3.fitting.WeightedObservedPoint> observations;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/commons/math3/fitting/WeightedObservedPoint;>;
public void <init>(org.apache.commons.math3.optim.nonlinear.vector.MultivariateVectorOptimizer);
descriptor: (Lorg/apache/commons/math3/optim/nonlinear/vector/MultivariateVectorOptimizer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.math3.fitting.CurveFitter.optimizer:Lorg/apache/commons/math3/optim/nonlinear/vector/MultivariateVectorOptimizer;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/fitting/CurveFitter<TT;>;
0 4 1 optimizer Lorg/apache/commons/math3/optim/nonlinear/vector/MultivariateVectorOptimizer;
MethodParameters:
Name Flags
optimizer final
public void addObservedPoint(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dconst_1
dload 1
dload 3
invokevirtual org.apache.commons.math3.fitting.CurveFitter.addObservedPoint:(DDD)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/fitting/CurveFitter<TT;>;
0 2 1 x D
0 2 3 y D
MethodParameters:
Name Flags
x
y
public void addObservedPoint(double, double, double);
descriptor: (DDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
new org.apache.commons.math3.fitting.WeightedObservedPoint
dup
dload 1
dload 3
dload 5
invokespecial org.apache.commons.math3.fitting.WeightedObservedPoint.<init>:(DDD)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/fitting/CurveFitter<TT;>;
0 2 1 weight D
0 2 3 x D
0 2 5 y D
MethodParameters:
Name Flags
weight
x
y
public void addObservedPoint(org.apache.commons.math3.fitting.WeightedObservedPoint);
descriptor: (Lorg/apache/commons/math3/fitting/WeightedObservedPoint;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/fitting/CurveFitter<TT;>;
0 2 1 observed Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
MethodParameters:
Name Flags
observed
public org.apache.commons.math3.fitting.WeightedObservedPoint[] getObservations();
descriptor: ()[Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
invokeinterface java.util.List.size:()I
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[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/fitting/CurveFitter<TT;>;
public void clearObservations();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/fitting/CurveFitter<TT;>;
public double[] fit(T, );
descriptor: (Lorg/apache/commons/math3/analysis/ParametricUnivariateFunction;[D)[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc 2147483647
aload 1
aload 2
invokevirtual org.apache.commons.math3.fitting.CurveFitter.fit:(ILorg/apache/commons/math3/analysis/ParametricUnivariateFunction;[D)[D
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/fitting/CurveFitter<TT;>;
0 1 1 f TT;
0 1 2 initialGuess [D
Signature: (TT;[D)[D
MethodParameters:
Name Flags
f
initialGuess final
public double[] fit(int, T, );
descriptor: (ILorg/apache/commons/math3/analysis/ParametricUnivariateFunction;[D)[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
invokeinterface java.util.List.size:()I
newarray 7
astore 4
start local 4 1: aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
invokeinterface java.util.List.size:()I
newarray 7
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.observations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 8
StackMap locals: org.apache.commons.math3.fitting.CurveFitter int org.apache.commons.math3.analysis.ParametricUnivariateFunction double[] double[] double[] int top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.fitting.WeightedObservedPoint
astore 7
start local 7 5: aload 4
iload 6
aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getY:()D
dastore
6: aload 5
iload 6
aload 7
invokevirtual org.apache.commons.math3.fitting.WeightedObservedPoint.getWeight:()D
dastore
7: iinc 6 1
end local 7 8: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: new org.apache.commons.math3.fitting.CurveFitter$TheoreticalValuesFunction
dup
aload 0
aload 2
invokespecial org.apache.commons.math3.fitting.CurveFitter$TheoreticalValuesFunction.<init>:(Lorg/apache/commons/math3/fitting/CurveFitter;Lorg/apache/commons/math3/analysis/ParametricUnivariateFunction;)V
astore 7
start local 7 10: aload 0
getfield org.apache.commons.math3.fitting.CurveFitter.optimizer:Lorg/apache/commons/math3/optim/nonlinear/vector/MultivariateVectorOptimizer;
bipush 6
anewarray org.apache.commons.math3.optim.OptimizationData
dup
iconst_0
new org.apache.commons.math3.optim.MaxEval
dup
iload 1
invokespecial org.apache.commons.math3.optim.MaxEval.<init>:(I)V
aastore
dup
iconst_1
11: aload 7
invokevirtual org.apache.commons.math3.fitting.CurveFitter$TheoreticalValuesFunction.getModelFunction:()Lorg/apache/commons/math3/optim/nonlinear/vector/ModelFunction;
aastore
dup
iconst_2
12: aload 7
invokevirtual org.apache.commons.math3.fitting.CurveFitter$TheoreticalValuesFunction.getModelFunctionJacobian:()Lorg/apache/commons/math3/optim/nonlinear/vector/ModelFunctionJacobian;
aastore
dup
iconst_3
13: new org.apache.commons.math3.optim.nonlinear.vector.Target
dup
aload 4
invokespecial org.apache.commons.math3.optim.nonlinear.vector.Target.<init>:([D)V
aastore
dup
iconst_4
14: new org.apache.commons.math3.optim.nonlinear.vector.Weight
dup
aload 5
invokespecial org.apache.commons.math3.optim.nonlinear.vector.Weight.<init>:([D)V
aastore
dup
iconst_5
15: new org.apache.commons.math3.optim.InitialGuess
dup
aload 3
invokespecial org.apache.commons.math3.optim.InitialGuess.<init>:([D)V
aastore
16: invokevirtual org.apache.commons.math3.optim.nonlinear.vector.MultivariateVectorOptimizer.optimize:([Lorg/apache/commons/math3/optim/OptimizationData;)Lorg/apache/commons/math3/optim/PointVectorValuePair;
17: astore 8
start local 8 18: aload 8
invokevirtual org.apache.commons.math3.optim.PointVectorValuePair.getPointRef:()[D
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/commons/math3/fitting/CurveFitter<TT;>;
0 19 1 maxEval I
0 19 2 f TT;
0 19 3 initialGuess [D
1 19 4 target [D
2 19 5 weights [D
3 19 6 i I
5 8 7 point Lorg/apache/commons/math3/fitting/WeightedObservedPoint;
10 19 7 model Lorg/apache/commons/math3/fitting/CurveFitter<TT;>.TheoreticalValuesFunction;
18 19 8 optimum Lorg/apache/commons/math3/optim/PointVectorValuePair;
Signature: (ITT;[D)[D
MethodParameters:
Name Flags
maxEval
f
initialGuess final
}
Signature: <T::Lorg/apache/commons/math3/analysis/ParametricUnivariateFunction;>Ljava/lang/Object;
SourceFile: "CurveFitter.java"
NestMembers:
org.apache.commons.math3.fitting.CurveFitter$TheoreticalValuesFunction org.apache.commons.math3.fitting.CurveFitter$TheoreticalValuesFunction$1 org.apache.commons.math3.fitting.CurveFitter$TheoreticalValuesFunction$2
InnerClasses:
private TheoreticalValuesFunction = org.apache.commons.math3.fitting.CurveFitter$TheoreticalValuesFunction of org.apache.commons.math3.fitting.CurveFitter
RuntimeVisibleAnnotations:
java.lang.Deprecated()