public class org.apache.commons.math3.analysis.function.Sinc implements org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction, org.apache.commons.math3.analysis.DifferentiableUnivariateFunction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.analysis.function.Sinc
super_class: java.lang.Object
{
private static final double SHORTCUT;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.006
private final boolean normalized;
descriptor: Z
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
iconst_0
invokespecial org.apache.commons.math3.analysis.function.Sinc.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/analysis/function/Sinc;
public void <init>(boolean);
descriptor: (Z)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
iload 1
putfield org.apache.commons.math3.analysis.function.Sinc.normalized:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/analysis/function/Sinc;
0 3 1 normalized Z
MethodParameters:
Name Flags
normalized
public double value(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.analysis.function.Sinc.normalized:Z
ifeq 1
ldc 3.141592653589793
dload 1
dmul
goto 2
StackMap locals:
StackMap stack:
1: dload 1
StackMap locals:
StackMap stack: double
2: dstore 3
start local 3 3: dload 3
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
ldc 0.006
dcmpg
ifgt 6
4: dload 3
dload 3
dmul
dstore 5
start local 5 5: dload 5
ldc 20.0
dsub
dload 5
dmul
ldc 120.0
dadd
ldc 120.0
ddiv
dreturn
end local 5 6: StackMap locals: double
StackMap stack:
dload 3
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dload 3
ddiv
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/math3/analysis/function/Sinc;
0 7 1 x D
3 7 3 scaledX D
5 6 5 scaledX2 D
MethodParameters:
Name Flags
x final
public org.apache.commons.math3.analysis.UnivariateFunction derivative();
descriptor: ()Lorg/apache/commons/math3/analysis/UnivariateFunction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.math3.analysis.FunctionUtils.toDifferentiableUnivariateFunction:(Lorg/apache/commons/math3/analysis/differentiation/UnivariateDifferentiableFunction;)Lorg/apache/commons/math3/analysis/DifferentiableUnivariateFunction;
invokeinterface org.apache.commons.math3.analysis.DifferentiableUnivariateFunction.derivative:()Lorg/apache/commons/math3/analysis/UnivariateFunction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/analysis/function/Sinc;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
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=14, locals=23, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.analysis.function.Sinc.normalized:Z
ifeq 1
ldc 3.141592653589793
goto 2
StackMap locals:
StackMap stack:
1: dconst_1
StackMap locals:
StackMap stack: double
2: aload 1
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getValue:()D
dmul
dstore 2
start local 2 3: dload 2
dload 2
dmul
dstore 4
start local 4 4: aload 1
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getOrder:()I
iconst_1
iadd
newarray 7
astore 6
start local 6 5: dload 2
invokestatic org.apache.commons.math3.util.FastMath.abs:(D)D
ldc 0.006
dcmpg
ifgt 23
6: iconst_0
istore 7
start local 7 7: goto 21
8: StackMap locals: org.apache.commons.math3.analysis.function.Sinc org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double double[] int
StackMap stack:
iload 7
iconst_2
idiv
istore 8
start local 8 9: iload 7
iconst_1
iand
ifne 16
10: aload 6
iload 7
iload 8
iconst_1
iand
ifne 11
iconst_1
goto 12
StackMap locals: org.apache.commons.math3.analysis.function.Sinc org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double double[] int int
StackMap stack: double[] int
11: iconst_m1
StackMap locals: org.apache.commons.math3.analysis.function.Sinc org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double double[] int int
StackMap stack: double[] int int
12: i2d
13: dconst_1
iload 7
iconst_1
iadd
i2d
ddiv
dload 4
dconst_1
iconst_2
iload 7
imul
bipush 6
iadd
i2d
ddiv
dload 4
bipush 24
iload 7
imul
bipush 120
iadd
i2d
ddiv
dsub
dmul
dsub
dmul
14: dastore
15: goto 20
16: StackMap locals:
StackMap stack:
aload 6
iload 7
iload 8
iconst_1
iand
ifne 17
dload 2
dneg
goto 18
StackMap locals: org.apache.commons.math3.analysis.function.Sinc org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double double[] int int
StackMap stack: double[] int
17: dload 2
18: StackMap locals: org.apache.commons.math3.analysis.function.Sinc org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double double[] int int
StackMap stack: double[] int double
dconst_1
iload 7
iconst_2
iadd
i2d
ddiv
dload 4
dconst_1
bipush 6
iload 7
imul
bipush 24
iadd
i2d
ddiv
dload 4
bipush 120
iload 7
imul
sipush 720
iadd
i2d
ddiv
dsub
dmul
dsub
dmul
19: dastore
end local 8 20: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
aload 6
arraylength
if_icmplt 8
end local 7 22: goto 55
23: StackMap locals:
StackMap stack:
dconst_1
dload 2
ddiv
dstore 7
start local 7 24: dload 2
invokestatic org.apache.commons.math3.util.FastMath.cos:(D)D
dstore 9
start local 9 25: dload 2
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dstore 11
start local 11 26: aload 6
iconst_0
dload 7
dload 11
dmul
dastore
27: aload 6
arraylength
newarray 7
astore 13
start local 13 28: aload 13
iconst_0
dconst_1
dastore
29: dload 7
dstore 14
start local 14 30: iconst_1
istore 16
start local 16 31: goto 54
32: StackMap locals: org.apache.commons.math3.analysis.function.Sinc org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double double[] double double double double[] double int
StackMap stack:
dconst_0
dstore 17
start local 17 33: dconst_0
dstore 19
start local 19 34: iload 16
iconst_1
iand
ifne 38
35: aload 13
iload 16
dconst_0
dastore
36: iload 16
istore 21
start local 21 37: goto 41
end local 21 38: StackMap locals: double double
StackMap stack:
aload 13
iload 16
aload 13
iload 16
iconst_1
isub
daload
dastore
39: aload 13
iload 16
daload
dstore 19
40: iload 16
iconst_1
isub
istore 21
start local 21 41: StackMap locals: int
StackMap stack:
iload 21
istore 22
start local 22 42: goto 48
43: StackMap locals: int
StackMap stack:
aload 13
iload 22
iload 22
iload 16
isub
i2d
aload 13
iload 22
daload
dmul
aload 13
iload 22
iconst_1
isub
daload
dsub
dastore
44: dload 17
dload 4
dmul
aload 13
iload 22
daload
dadd
dstore 17
45: aload 13
iload 22
iconst_1
isub
iload 22
iconst_1
isub
iload 16
isub
i2d
aload 13
iload 22
iconst_1
isub
daload
dmul
aload 13
iload 22
iconst_2
isub
daload
dadd
dastore
46: dload 19
dload 4
dmul
aload 13
iload 22
iconst_1
isub
daload
dadd
dstore 19
47: iinc 22 -2
StackMap locals:
StackMap stack:
48: iload 22
iconst_1
if_icmpgt 43
end local 22 49: aload 13
iconst_0
dup2
daload
iload 16
ineg
i2d
dmul
dastore
50: dload 17
dload 4
dmul
aload 13
iconst_0
daload
dadd
dstore 17
51: dload 14
dload 7
dmul
dstore 14
52: aload 6
iload 16
dload 14
dload 17
dload 11
dmul
dload 19
dload 2
dmul
dload 9
dmul
dadd
dmul
dastore
end local 21 end local 19 end local 17 53: iinc 16 1
StackMap locals: org.apache.commons.math3.analysis.function.Sinc org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double double[] double double double double[] double int
StackMap stack:
54: iload 16
aload 6
arraylength
if_icmplt 32
end local 16 end local 14 end local 13 end local 11 end local 9 end local 7 55: StackMap locals: org.apache.commons.math3.analysis.function.Sinc org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double double[]
StackMap stack:
aload 0
getfield org.apache.commons.math3.analysis.function.Sinc.normalized:Z
ifeq 63
56: ldc 3.141592653589793
dstore 7
start local 7 57: iconst_1
istore 9
start local 9 58: goto 62
59: StackMap locals: double int
StackMap stack:
aload 6
iload 9
dup2
daload
dload 7
dmul
dastore
60: dload 7
ldc 3.141592653589793
dmul
dstore 7
61: iinc 9 1
StackMap locals:
StackMap stack:
62: iload 9
aload 6
arraylength
if_icmplt 59
end local 9 end local 7 63: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.compose:([D)Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 64 0 this Lorg/apache/commons/math3/analysis/function/Sinc;
0 64 1 t Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;
3 64 2 scaledX D
4 64 4 scaledX2 D
5 64 6 f [D
7 22 7 i I
9 20 8 k I
24 55 7 inv D
25 55 9 cos D
26 55 11 sin D
28 55 13 sc [D
30 55 14 coeff D
31 55 16 n I
33 53 17 s D
34 53 19 c D
37 38 21 kStart I
41 53 21 kStart I
42 49 22 k I
57 63 7 scale D
58 63 9 i I
Exceptions:
throws org.apache.commons.math3.exception.DimensionMismatchException
MethodParameters:
Name Flags
t final
}
SourceFile: "Sinc.java"