public class org.apache.commons.math3.analysis.interpolation.LinearInterpolator 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.LinearInterpolator
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/analysis/interpolation/LinearInterpolator;
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=8, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
aload 2
arraylength
if_icmpeq 2
1: new org.apache.commons.math3.exception.DimensionMismatchException
dup
aload 1
arraylength
aload 2
arraylength
invokespecial org.apache.commons.math3.exception.DimensionMismatchException.<init>:(II)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
arraylength
iconst_2
if_icmpge 6
3: 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: aload 1
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
5: 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: StackMap locals:
StackMap stack:
aload 1
arraylength
iconst_1
isub
istore 3
start local 3 7: aload 1
invokestatic org.apache.commons.math3.util.MathArrays.checkOrder:([D)V
8: iload 3
newarray 7
astore 4
start local 4 9: iconst_0
istore 5
start local 5 10: goto 13
11: StackMap locals: int double[] int
StackMap stack:
aload 4
iload 5
aload 2
iload 5
iconst_1
iadd
daload
aload 2
iload 5
daload
dsub
aload 1
iload 5
iconst_1
iadd
daload
aload 1
iload 5
daload
dsub
ddiv
dastore
12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 3
if_icmplt 11
end local 5 14: iload 3
anewarray org.apache.commons.math3.analysis.polynomials.PolynomialFunction
astore 5
start local 5 15: iconst_2
newarray 7
astore 6
start local 6 16: iconst_0
istore 7
start local 7 17: goto 22
18: StackMap locals: org.apache.commons.math3.analysis.interpolation.LinearInterpolator double[] double[] int double[] org.apache.commons.math3.analysis.polynomials.PolynomialFunction[] double[] int
StackMap stack:
aload 6
iconst_0
aload 2
iload 7
daload
dastore
19: aload 6
iconst_1
aload 4
iload 7
daload
dastore
20: aload 5
iload 7
new org.apache.commons.math3.analysis.polynomials.PolynomialFunction
dup
aload 6
invokespecial org.apache.commons.math3.analysis.polynomials.PolynomialFunction.<init>:([D)V
aastore
21: iinc 7 1
StackMap locals:
StackMap stack:
22: iload 7
iload 3
if_icmplt 18
end local 7 23: new org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction
dup
aload 1
aload 5
invokespecial org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction.<init>:([D[Lorg/apache/commons/math3/analysis/polynomials/PolynomialFunction;)V
areturn
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/analysis/interpolation/LinearInterpolator;
0 24 1 x [D
0 24 2 y [D
7 24 3 n I
9 24 4 m [D
10 14 5 i I
15 24 5 polynomials [Lorg/apache/commons/math3/analysis/polynomials/PolynomialFunction;
16 24 6 coefficients [D
17 23 7 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: aload 0
aload 1
aload 2
invokevirtual org.apache.commons.math3.analysis.interpolation.LinearInterpolator.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: "LinearInterpolator.java"