class org.apache.commons.math3.analysis.FunctionUtils$17 implements org.apache.commons.math3.analysis.differentiation.MultivariateDifferentiableFunction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.math3.analysis.FunctionUtils$17
super_class: java.lang.Object
{
private final org.apache.commons.math3.analysis.DifferentiableMultivariateFunction val$f;
descriptor: Lorg/apache/commons/math3/analysis/DifferentiableMultivariateFunction;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.commons.math3.analysis.DifferentiableMultivariateFunction);
descriptor: (Lorg/apache/commons/math3/analysis/DifferentiableMultivariateFunction;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.apache.commons.math3.analysis.FunctionUtils$17 this
0: .line 615
aload 0 /* this */
aload 1
putfield org.apache.commons.math3.analysis.FunctionUtils$17.val$f:Lorg/apache/commons/math3/analysis/DifferentiableMultivariateFunction;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.apache.commons.math3.analysis.FunctionUtils$17 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/analysis/FunctionUtils$17;
MethodParameters:
Name Flags
val$f final
public double value(double[]);
descriptor: ([D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.apache.commons.math3.analysis.FunctionUtils$17 this
start local 1 // double[] x
0: .line 619
aload 0 /* this */
getfield org.apache.commons.math3.analysis.FunctionUtils$17.val$f:Lorg/apache/commons/math3/analysis/DifferentiableMultivariateFunction;
aload 1 /* x */
invokeinterface org.apache.commons.math3.analysis.DifferentiableMultivariateFunction.value:([D)D
dreturn
end local 1 // double[] x
end local 0 // org.apache.commons.math3.analysis.FunctionUtils$17 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/analysis/FunctionUtils$17;
0 1 1 x [D
MethodParameters:
Name Flags
x final
public org.apache.commons.math3.analysis.differentiation.DerivativeStructure value(org.apache.commons.math3.analysis.differentiation.DerivativeStructure[]);
descriptor: ([Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;)Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=2
start local 0 // org.apache.commons.math3.analysis.FunctionUtils$17 this
start local 1 // org.apache.commons.math3.analysis.differentiation.DerivativeStructure[] t
0: .line 630
aload 1 /* t */
iconst_0
aaload
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getFreeParameters:()I
istore 2 /* parameters */
start local 2 // int parameters
1: .line 631
aload 1 /* t */
iconst_0
aaload
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getOrder:()I
istore 3 /* order */
start local 3 // int order
2: .line 632
aload 1 /* t */
arraylength
istore 4 /* n */
start local 4 // int n
3: .line 633
iload 3 /* order */
iconst_1
if_icmple 5
4: .line 634
new org.apache.commons.math3.exception.NumberIsTooLargeException
dup
iload 3 /* order */
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
invokespecial org.apache.commons.math3.exception.NumberIsTooLargeException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
5: .line 638
StackMap locals: int int int
StackMap stack:
iconst_0
istore 5 /* i */
start local 5 // int i
6: goto 12
7: .line 639
StackMap locals: int
StackMap stack:
aload 1 /* t */
iload 5 /* i */
aaload
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getFreeParameters:()I
iload 2 /* parameters */
if_icmpeq 9
8: .line 640
new org.apache.commons.math3.exception.DimensionMismatchException
dup
aload 1 /* t */
iload 5 /* i */
aaload
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getFreeParameters:()I
iload 2 /* parameters */
invokespecial org.apache.commons.math3.exception.DimensionMismatchException.<init>:(II)V
athrow
9: .line 643
StackMap locals:
StackMap stack:
aload 1 /* t */
iload 5 /* i */
aaload
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getOrder:()I
iload 3 /* order */
if_icmpeq 11
10: .line 644
new org.apache.commons.math3.exception.DimensionMismatchException
dup
aload 1 /* t */
iload 5 /* i */
aaload
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getOrder:()I
iload 3 /* order */
invokespecial org.apache.commons.math3.exception.DimensionMismatchException.<init>:(II)V
athrow
11: .line 638
StackMap locals:
StackMap stack:
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
12: iload 5 /* i */
iload 4 /* n */
if_icmplt 7
end local 5 // int i
13: .line 649
iload 4 /* n */
newarray 7
astore 5 /* point */
start local 5 // double[] point
14: .line 650
iconst_0
istore 6 /* i */
start local 6 // int i
15: goto 18
16: .line 651
StackMap locals: org.apache.commons.math3.analysis.FunctionUtils$17 org.apache.commons.math3.analysis.differentiation.DerivativeStructure[] int int int double[] int
StackMap stack:
aload 5 /* point */
iload 6 /* i */
aload 1 /* t */
iload 6 /* i */
aaload
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getValue:()D
dastore
17: .line 650
iinc 6 /* i */ 1
StackMap locals:
StackMap stack:
18: iload 6 /* i */
iload 4 /* n */
if_icmplt 16
end local 6 // int i
19: .line 653
aload 0 /* this */
getfield org.apache.commons.math3.analysis.FunctionUtils$17.val$f:Lorg/apache/commons/math3/analysis/DifferentiableMultivariateFunction;
aload 5 /* point */
invokeinterface org.apache.commons.math3.analysis.DifferentiableMultivariateFunction.value:([D)D
dstore 6 /* value */
start local 6 // double value
20: .line 654
aload 0 /* this */
getfield org.apache.commons.math3.analysis.FunctionUtils$17.val$f:Lorg/apache/commons/math3/analysis/DifferentiableMultivariateFunction;
invokeinterface org.apache.commons.math3.analysis.DifferentiableMultivariateFunction.gradient:()Lorg/apache/commons/math3/analysis/MultivariateVectorFunction;
aload 5 /* point */
invokeinterface org.apache.commons.math3.analysis.MultivariateVectorFunction.value:([D)[D
astore 8 /* gradient */
start local 8 // double[] gradient
21: .line 657
iload 2 /* parameters */
iconst_1
iadd
newarray 7
astore 9 /* derivatives */
start local 9 // double[] derivatives
22: .line 658
aload 9 /* derivatives */
iconst_0
dload 6 /* value */
dastore
23: .line 659
iload 2 /* parameters */
newarray 10
astore 10 /* orders */
start local 10 // int[] orders
24: .line 660
iconst_0
istore 11 /* i */
start local 11 // int i
25: goto 34
26: .line 661
StackMap locals: org.apache.commons.math3.analysis.FunctionUtils$17 org.apache.commons.math3.analysis.differentiation.DerivativeStructure[] int int int double[] double double[] double[] int[] int
StackMap stack:
aload 10 /* orders */
iload 11 /* i */
iconst_1
iastore
27: .line 662
iconst_0
istore 12 /* j */
start local 12 // int j
28: goto 31
29: .line 663
StackMap locals: int
StackMap stack:
aload 9 /* derivatives */
iload 11 /* i */
iconst_1
iadd
dup2
daload
aload 8 /* gradient */
iload 12 /* j */
daload
aload 1 /* t */
iload 12 /* j */
aaload
aload 10 /* orders */
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getPartialDerivative:([I)D
dmul
dadd
dastore
30: .line 662
iinc 12 /* j */ 1
StackMap locals:
StackMap stack:
31: iload 12 /* j */
iload 4 /* n */
if_icmplt 29
end local 12 // int j
32: .line 665
aload 10 /* orders */
iload 11 /* i */
iconst_0
iastore
33: .line 660
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
34: iload 11 /* i */
iload 2 /* parameters */
if_icmplt 26
end local 11 // int i
35: .line 668
new org.apache.commons.math3.analysis.differentiation.DerivativeStructure
dup
iload 2 /* parameters */
iload 3 /* order */
aload 9 /* derivatives */
invokespecial org.apache.commons.math3.analysis.differentiation.DerivativeStructure.<init>:(II[D)V
areturn
end local 10 // int[] orders
end local 9 // double[] derivatives
end local 8 // double[] gradient
end local 6 // double value
end local 5 // double[] point
end local 4 // int n
end local 3 // int order
end local 2 // int parameters
end local 1 // org.apache.commons.math3.analysis.differentiation.DerivativeStructure[] t
end local 0 // org.apache.commons.math3.analysis.FunctionUtils$17 this
LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/apache/commons/math3/analysis/FunctionUtils$17;
0 36 1 t [Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;
1 36 2 parameters I
2 36 3 order I
3 36 4 n I
6 13 5 i I
14 36 5 point [D
15 19 6 i I
20 36 6 value D
21 36 8 gradient [D
22 36 9 derivatives [D
24 36 10 orders [I
25 35 11 i I
28 32 12 j I
Exceptions:
throws org.apache.commons.math3.exception.DimensionMismatchException, org.apache.commons.math3.exception.NumberIsTooLargeException
MethodParameters:
Name Flags
t final
}
SourceFile: "FunctionUtils.java"
EnclosingMethod: org.apache.commons.math3.analysis.FunctionUtils.toMultivariateDifferentiableFunction:(Lorg/apache/commons/math3/analysis/DifferentiableMultivariateFunction;)Lorg/apache/commons/math3/analysis/differentiation/MultivariateDifferentiableFunction;
NestHost: org.apache.commons.math3.analysis.FunctionUtils
InnerClasses:
org.apache.commons.math3.analysis.FunctionUtils$17