public class org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer implements org.apache.commons.math3.fitting.leastsquares.LeastSquaresOptimizer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer
super_class: java.lang.Object
{
private static final double SINGULARITY_THRESHOLD;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1.0E-11
private final org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition decomposition;
descriptor: Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition.QR:Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
invokespecial org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer.<init>:(Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer;
public void <init>(org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition);
descriptor: (Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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.leastsquares.GaussNewtonOptimizer.decomposition:Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer;
0 3 1 decomposition Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
MethodParameters:
Name Flags
decomposition final
public org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition getDecomposition();
descriptor: ()Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer.decomposition:Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer;
public org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer withDecomposition(org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition);
descriptor: (Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;)Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer
dup
aload 1
invokespecial org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer.<init>:(Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer;
0 1 1 newDecomposition Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
MethodParameters:
Name Flags
newDecomposition final
public org.apache.commons.math3.fitting.leastsquares.LeastSquaresOptimizer$Optimum optimize(org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem);
descriptor: (Lorg/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem;)Lorg/apache/commons/math3/fitting/leastsquares/LeastSquaresOptimizer$Optimum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem.getEvaluationCounter:()Lorg/apache/commons/math3/util/Incrementor;
astore 2
start local 2 1: aload 1
invokeinterface org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem.getIterationCounter:()Lorg/apache/commons/math3/util/Incrementor;
astore 3
start local 3 2: aload 1
invokeinterface org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem.getConvergenceChecker:()Lorg/apache/commons/math3/optim/ConvergenceChecker;
3: astore 4
start local 4 4: aload 4
ifnonnull 6
5: new org.apache.commons.math3.exception.NullArgumentException
dup
invokespecial org.apache.commons.math3.exception.NullArgumentException.<init>:()V
athrow
6: StackMap locals: org.apache.commons.math3.util.Incrementor org.apache.commons.math3.util.Incrementor org.apache.commons.math3.optim.ConvergenceChecker
StackMap stack:
aload 1
invokeinterface org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem.getStart:()Lorg/apache/commons/math3/linear/RealVector;
astore 5
start local 5 7: aconst_null
astore 6
start local 6 8: StackMap locals: org.apache.commons.math3.linear.RealVector org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem$Evaluation
StackMap stack:
aload 3
invokevirtual org.apache.commons.math3.util.Incrementor.incrementCount:()V
9: aload 6
astore 7
start local 7 10: aload 2
invokevirtual org.apache.commons.math3.util.Incrementor.incrementCount:()V
11: aload 1
aload 5
invokeinterface org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem.evaluate:(Lorg/apache/commons/math3/linear/RealVector;)Lorg/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem$Evaluation;
astore 6
12: aload 6
invokeinterface org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem$Evaluation.getResiduals:()Lorg/apache/commons/math3/linear/RealVector;
astore 8
start local 8 13: aload 6
invokeinterface org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem$Evaluation.getJacobian:()Lorg/apache/commons/math3/linear/RealMatrix;
astore 9
start local 9 14: aload 6
invokeinterface org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem$Evaluation.getPoint:()Lorg/apache/commons/math3/linear/RealVector;
astore 5
15: aload 7
ifnull 21
16: aload 4
aload 3
invokevirtual org.apache.commons.math3.util.Incrementor.getCount:()I
aload 7
aload 6
invokeinterface org.apache.commons.math3.optim.ConvergenceChecker.converged:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 21
17: new org.apache.commons.math3.fitting.leastsquares.OptimumImpl
dup
aload 6
18: aload 2
invokevirtual org.apache.commons.math3.util.Incrementor.getCount:()I
19: aload 3
invokevirtual org.apache.commons.math3.util.Incrementor.getCount:()I
20: invokespecial org.apache.commons.math3.fitting.leastsquares.OptimumImpl.<init>:(Lorg/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem$Evaluation;II)V
areturn
21: StackMap locals: org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem$Evaluation org.apache.commons.math3.linear.RealVector org.apache.commons.math3.linear.RealMatrix
StackMap stack:
aload 0
getfield org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer.decomposition:Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
aload 9
aload 8
invokevirtual org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition.solve:(Lorg/apache/commons/math3/linear/RealMatrix;Lorg/apache/commons/math3/linear/RealVector;)Lorg/apache/commons/math3/linear/RealVector;
astore 10
start local 10 22: aload 5
aload 10
invokevirtual org.apache.commons.math3.linear.RealVector.add:(Lorg/apache/commons/math3/linear/RealVector;)Lorg/apache/commons/math3/linear/RealVector;
astore 5
end local 10 end local 9 end local 8 end local 7 23: goto 8
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 24 0 this Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer;
0 24 1 lsp Lorg/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem;
1 24 2 evaluationCounter Lorg/apache/commons/math3/util/Incrementor;
2 24 3 iterationCounter Lorg/apache/commons/math3/util/Incrementor;
4 24 4 checker Lorg/apache/commons/math3/optim/ConvergenceChecker<Lorg/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem$Evaluation;>;
7 24 5 currentPoint Lorg/apache/commons/math3/linear/RealVector;
8 24 6 current Lorg/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem$Evaluation;
10 23 7 previous Lorg/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem$Evaluation;
13 23 8 currentResiduals Lorg/apache/commons/math3/linear/RealVector;
14 23 9 weightedJacobian Lorg/apache/commons/math3/linear/RealMatrix;
22 23 10 dX Lorg/apache/commons/math3/linear/RealVector;
MethodParameters:
Name Flags
lsp final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "GaussNewtonOptimizer{decomposition="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer.decomposition:Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer$Decomposition;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/fitting/leastsquares/GaussNewtonOptimizer;
private static org.apache.commons.math3.util.Pair<org.apache.commons.math3.linear.RealMatrix, org.apache.commons.math3.linear.RealVector> computeNormalMatrix(org.apache.commons.math3.linear.RealMatrix, org.apache.commons.math3.linear.RealVector);
descriptor: (Lorg/apache/commons/math3/linear/RealMatrix;Lorg/apache/commons/math3/linear/RealVector;)Lorg/apache/commons/math3/util/Pair;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.commons.math3.linear.RealMatrix.getRowDimension:()I
istore 2
start local 2 1: aload 0
invokeinterface org.apache.commons.math3.linear.RealMatrix.getColumnDimension:()I
istore 3
start local 3 2: iload 3
iload 3
invokestatic org.apache.commons.math3.linear.MatrixUtils.createRealMatrix:(II)Lorg/apache/commons/math3/linear/RealMatrix;
astore 4
start local 4 3: new org.apache.commons.math3.linear.ArrayRealVector
dup
iload 3
invokespecial org.apache.commons.math3.linear.ArrayRealVector.<init>:(I)V
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 25
6: StackMap locals: org.apache.commons.math3.linear.RealMatrix org.apache.commons.math3.linear.RealVector int int org.apache.commons.math3.linear.RealMatrix org.apache.commons.math3.linear.RealVector int
StackMap stack:
iconst_0
istore 7
start local 7 7: goto 12
8: StackMap locals: int
StackMap stack:
aload 5
iload 7
aload 5
iload 7
invokevirtual org.apache.commons.math3.linear.RealVector.getEntry:(I)D
9: aload 1
iload 6
invokevirtual org.apache.commons.math3.linear.RealVector.getEntry:(I)D
aload 0
iload 6
iload 7
invokeinterface org.apache.commons.math3.linear.RealMatrix.getEntry:(II)D
dmul
dadd
10: invokevirtual org.apache.commons.math3.linear.RealVector.setEntry:(ID)V
11: iinc 7 1
StackMap locals:
StackMap stack:
12: iload 7
iload 3
if_icmplt 8
end local 7 13: iconst_0
istore 7
start local 7 14: goto 23
15: StackMap locals:
StackMap stack:
iload 7
istore 8
start local 8 16: goto 21
17: StackMap locals: int
StackMap stack:
aload 4
iload 7
iload 8
aload 4
iload 7
iload 8
invokeinterface org.apache.commons.math3.linear.RealMatrix.getEntry:(II)D
18: aload 0
iload 6
iload 7
invokeinterface org.apache.commons.math3.linear.RealMatrix.getEntry:(II)D
aload 0
iload 6
iload 8
invokeinterface org.apache.commons.math3.linear.RealMatrix.getEntry:(II)D
dmul
dadd
19: invokeinterface org.apache.commons.math3.linear.RealMatrix.setEntry:(IID)V
20: iinc 8 1
StackMap locals:
StackMap stack:
21: iload 8
iload 3
if_icmplt 17
end local 8 22: iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
iload 3
if_icmplt 15
end local 7 24: iinc 6 1
StackMap locals:
StackMap stack:
25: iload 6
iload 2
if_icmplt 6
end local 6 26: iconst_0
istore 6
start local 6 27: goto 34
28: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 29: goto 32
30: StackMap locals: int
StackMap stack:
aload 4
iload 6
iload 7
aload 4
iload 7
iload 6
invokeinterface org.apache.commons.math3.linear.RealMatrix.getEntry:(II)D
invokeinterface org.apache.commons.math3.linear.RealMatrix.setEntry:(IID)V
31: iinc 7 1
StackMap locals:
StackMap stack:
32: iload 7
iload 6
if_icmplt 30
end local 7 33: iinc 6 1
StackMap locals:
StackMap stack:
34: iload 6
iload 3
if_icmplt 28
end local 6 35: new org.apache.commons.math3.util.Pair
dup
aload 4
aload 5
invokespecial org.apache.commons.math3.util.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
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 36 0 jacobian Lorg/apache/commons/math3/linear/RealMatrix;
0 36 1 residuals Lorg/apache/commons/math3/linear/RealVector;
1 36 2 nR I
2 36 3 nC I
3 36 4 normal Lorg/apache/commons/math3/linear/RealMatrix;
4 36 5 jTr Lorg/apache/commons/math3/linear/RealVector;
5 26 6 i I
7 13 7 j I
14 24 7 k I
16 22 8 l I
27 35 6 i I
29 33 7 j I
Signature: (Lorg/apache/commons/math3/linear/RealMatrix;Lorg/apache/commons/math3/linear/RealVector;)Lorg/apache/commons/math3/util/Pair<Lorg/apache/commons/math3/linear/RealMatrix;Lorg/apache/commons/math3/linear/RealVector;>;
MethodParameters:
Name Flags
jacobian final
residuals final
}
SourceFile: "GaussNewtonOptimizer.java"
NestMembers:
org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition$1 org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition$2 org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition$3 org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition$4
InnerClasses:
public abstract Decomposition = org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer$Decomposition of org.apache.commons.math3.fitting.leastsquares.GaussNewtonOptimizer
public abstract Optimum = org.apache.commons.math3.fitting.leastsquares.LeastSquaresOptimizer$Optimum of org.apache.commons.math3.fitting.leastsquares.LeastSquaresOptimizer
public abstract Evaluation = org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem$Evaluation of org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem