public class org.apache.commons.math3.analysis.interpolation.SplineInterpolator implements org.apache.commons.math3.analysis.interpolation.UnivariateInterpolator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.analysis.interpolation.SplineInterpolator
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.commons.math3.analysis.interpolation.SplineInterpolator this
0: .line 52
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.apache.commons.math3.analysis.interpolation.SplineInterpolator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/analysis/interpolation/SplineInterpolator;
public org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction interpolate(double[], double[]);
descriptor: ([D[D)Lorg/apache/commons/math3/analysis/polynomials/PolynomialSplineFunction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=15, args_size=3
start local 0 // org.apache.commons.math3.analysis.interpolation.SplineInterpolator this
start local 1 // double[] x
start local 2 // double[] y
0: .line 69
aload 1 /* x */
arraylength
aload 2 /* y */
arraylength
if_icmpeq 2
1: .line 70
new org.apache.commons.math3.exception.DimensionMismatchException
dup
aload 1 /* x */
arraylength
aload 2 /* y */
arraylength
invokespecial org.apache.commons.math3.exception.DimensionMismatchException.<init>:(II)V
athrow
2: .line 73
StackMap locals:
StackMap stack:
aload 1 /* x */
arraylength
iconst_3
if_icmpge 6
3: .line 74
new org.apache.commons.math3.exception.NumberIsTooSmallException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.NUMBER_OF_POINTS:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
4: .line 75
aload 1 /* x */
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
5: .line 74
invokespecial org.apache.commons.math3.exception.NumberIsTooSmallException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
6: .line 79
StackMap locals:
StackMap stack:
aload 1 /* x */
arraylength
iconst_1
isub
istore 3 /* n */
start local 3 // int n
7: .line 81
aload 1 /* x */
invokestatic org.apache.commons.math3.util.MathArrays.checkOrder:([D)V
8: .line 84
iload 3 /* n */
newarray 7
astore 4 /* h */
start local 4 // double[] h
9: .line 85
iconst_0
istore 5 /* i */
start local 5 // int i
10: goto 13
11: .line 86
StackMap locals: int double[] int
StackMap stack:
aload 4 /* h */
iload 5 /* i */
aload 1 /* x */
iload 5 /* i */
iconst_1
iadd
daload
aload 1 /* x */
iload 5 /* i */
daload
dsub
dastore
12: .line 85
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
13: iload 5 /* i */
iload 3 /* n */
if_icmplt 11
end local 5 // int i
14: .line 89
iload 3 /* n */
newarray 7
astore 5 /* mu */
start local 5 // double[] mu
15: .line 90
iload 3 /* n */
iconst_1
iadd
newarray 7
astore 6 /* z */
start local 6 // double[] z
16: .line 91
aload 5 /* mu */
iconst_0
dconst_0
dastore
17: .line 92
aload 6 /* z */
iconst_0
dconst_0
dastore
18: .line 93
dconst_0
dstore 7 /* g */
start local 7 // double g
19: .line 94
iconst_1
istore 9 /* i */
start local 9 // int i
20: goto 27
21: .line 95
StackMap locals: org.apache.commons.math3.analysis.interpolation.SplineInterpolator double[] double[] int double[] double[] double[] double int
StackMap stack:
ldc 2.0
aload 1 /* x */
iload 9 /* i */
iconst_1
iadd
daload
aload 1 /* x */
iload 9 /* i */
iconst_1
isub
daload
dsub
dmul
aload 4 /* h */
iload 9 /* i */
iconst_1
isub
daload
aload 5 /* mu */
iload 9 /* i */
iconst_1
isub
daload
dmul
dsub
dstore 7 /* g */
22: .line 96
aload 5 /* mu */
iload 9 /* i */
aload 4 /* h */
iload 9 /* i */
daload
dload 7 /* g */
ddiv
dastore
23: .line 97
aload 6 /* z */
iload 9 /* i */
ldc 3.0
aload 2 /* y */
iload 9 /* i */
iconst_1
iadd
daload
aload 4 /* h */
iload 9 /* i */
iconst_1
isub
daload
dmul
aload 2 /* y */
iload 9 /* i */
daload
aload 1 /* x */
iload 9 /* i */
iconst_1
iadd
daload
aload 1 /* x */
iload 9 /* i */
iconst_1
isub
daload
dsub
dmul
dsub
aload 2 /* y */
iload 9 /* i */
iconst_1
isub
daload
aload 4 /* h */
iload 9 /* i */
daload
dmul
dadd
dmul
24: .line 98
aload 4 /* h */
iload 9 /* i */
iconst_1
isub
daload
aload 4 /* h */
iload 9 /* i */
daload
dmul
ddiv
aload 4 /* h */
iload 9 /* i */
iconst_1
isub
daload
aload 6 /* z */
iload 9 /* i */
iconst_1
isub
daload
dmul
dsub
dload 7 /* g */
ddiv
25: .line 97
dastore
26: .line 94
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
27: iload 9 /* i */
iload 3 /* n */
if_icmplt 21
end local 9 // int i
28: .line 102
iload 3 /* n */
newarray 7
astore 9 /* b */
start local 9 // double[] b
29: .line 103
iload 3 /* n */
iconst_1
iadd
newarray 7
astore 10 /* c */
start local 10 // double[] c
30: .line 104
iload 3 /* n */
newarray 7
astore 11 /* d */
start local 11 // double[] d
31: .line 106
aload 6 /* z */
iload 3 /* n */
dconst_0
dastore
32: .line 107
aload 10 /* c */
iload 3 /* n */
dconst_0
dastore
33: .line 109
iload 3 /* n */
iconst_1
isub
istore 12 /* j */
start local 12 // int j
34: goto 39
35: .line 110
StackMap locals: org.apache.commons.math3.analysis.interpolation.SplineInterpolator double[] double[] int double[] double[] double[] double double[] double[] double[] int
StackMap stack:
aload 10 /* c */
iload 12 /* j */
aload 6 /* z */
iload 12 /* j */
daload
aload 5 /* mu */
iload 12 /* j */
daload
aload 10 /* c */
iload 12 /* j */
iconst_1
iadd
daload
dmul
dsub
dastore
36: .line 111
aload 9 /* b */
iload 12 /* j */
aload 2 /* y */
iload 12 /* j */
iconst_1
iadd
daload
aload 2 /* y */
iload 12 /* j */
daload
dsub
aload 4 /* h */
iload 12 /* j */
daload
ddiv
aload 4 /* h */
iload 12 /* j */
daload
aload 10 /* c */
iload 12 /* j */
iconst_1
iadd
daload
ldc 2.0
aload 10 /* c */
iload 12 /* j */
daload
dmul
dadd
dmul
ldc 3.0
ddiv
dsub
dastore
37: .line 112
aload 11 /* d */
iload 12 /* j */
aload 10 /* c */
iload 12 /* j */
iconst_1
iadd
daload
aload 10 /* c */
iload 12 /* j */
daload
dsub
ldc 3.0
aload 4 /* h */
iload 12 /* j */
daload
dmul
ddiv
dastore
38: .line 109
iinc 12 /* j */ -1
StackMap locals:
StackMap stack:
39: iload 12 /* j */
ifge 35
end local 12 // int j
40: .line 115
iload 3 /* n */
anewarray org.apache.commons.math3.analysis.polynomials.PolynomialFunction
astore 12 /* polynomials */
start local 12 // org.apache.commons.math3.analysis.polynomials.PolynomialFunction[] polynomials
41: .line 116
iconst_4
newarray 7
astore 13 /* coefficients */
start local 13 // double[] coefficients
42: .line 117
iconst_0
istore 14 /* i */
start local 14 // int i
43: goto 50
44: .line 118
StackMap locals: org.apache.commons.math3.analysis.interpolation.SplineInterpolator double[] double[] int double[] double[] double[] double double[] double[] double[] org.apache.commons.math3.analysis.polynomials.PolynomialFunction[] double[] int
StackMap stack:
aload 13 /* coefficients */
iconst_0
aload 2 /* y */
iload 14 /* i */
daload
dastore
45: .line 119
aload 13 /* coefficients */
iconst_1
aload 9 /* b */
iload 14 /* i */
daload
dastore
46: .line 120
aload 13 /* coefficients */
iconst_2
aload 10 /* c */
iload 14 /* i */
daload
dastore
47: .line 121
aload 13 /* coefficients */
iconst_3
aload 11 /* d */
iload 14 /* i */
daload
dastore
48: .line 122
aload 12 /* polynomials */
iload 14 /* i */
new org.apache.commons.math3.analysis.polynomials.PolynomialFunction
dup
aload 13 /* coefficients */
invokespecial org.apache.commons.math3.analysis.polynomials.PolynomialFunction.<init>:([D)V
aastore
49: .line 117
iinc 14 /* i */ 1
StackMap locals:
StackMap stack:
50: iload 14 /* i */
iload 3 /* n */
if_icmplt 44
end local 14 // int i
51: .line 125
new org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction
dup
aload 1 /* x */
aload 12 /* polynomials */
invokespecial org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction.<init>:([D[Lorg/apache/commons/math3/analysis/polynomials/PolynomialFunction;)V
areturn
end local 13 // double[] coefficients
end local 12 // org.apache.commons.math3.analysis.polynomials.PolynomialFunction[] polynomials
end local 11 // double[] d
end local 10 // double[] c
end local 9 // double[] b
end local 7 // double g
end local 6 // double[] z
end local 5 // double[] mu
end local 4 // double[] h
end local 3 // int n
end local 2 // double[] y
end local 1 // double[] x
end local 0 // org.apache.commons.math3.analysis.interpolation.SplineInterpolator this
LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lorg/apache/commons/math3/analysis/interpolation/SplineInterpolator;
0 52 1 x [D
0 52 2 y [D
7 52 3 n I
9 52 4 h [D
10 14 5 i I
15 52 5 mu [D
16 52 6 z [D
19 52 7 g D
20 28 9 i I
29 52 9 b [D
30 52 10 c [D
31 52 11 d [D
34 40 12 j I
41 52 12 polynomials [Lorg/apache/commons/math3/analysis/polynomials/PolynomialFunction;
42 52 13 coefficients [D
43 51 14 i I
Exceptions:
throws org.apache.commons.math3.exception.DimensionMismatchException, org.apache.commons.math3.exception.NumberIsTooSmallException, org.apache.commons.math3.exception.NonMonotonicSequenceException
MethodParameters:
Name Flags
x
y
public org.apache.commons.math3.analysis.UnivariateFunction interpolate(double[], double[]);
descriptor: ([D[D)Lorg/apache/commons/math3/analysis/UnivariateFunction;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: .line 1
aload 0
aload 1
aload 2
invokevirtual org.apache.commons.math3.analysis.interpolation.SplineInterpolator.interpolate:([D[D)Lorg/apache/commons/math3/analysis/polynomials/PolynomialSplineFunction;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalArgumentException, org.apache.commons.math3.exception.DimensionMismatchException
}
SourceFile: "SplineInterpolator.java"