public class org.apache.commons.math3.complex.RootsOfUnity implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.complex.RootsOfUnity
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 20120201
private int omegaCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private double[] omegaReal;
descriptor: [D
flags: (0x0002) ACC_PRIVATE
private double[] omegaImaginaryCounterClockwise;
descriptor: [D
flags: (0x0002) ACC_PRIVATE
private double[] omegaImaginaryClockwise;
descriptor: [D
flags: (0x0002) ACC_PRIVATE
private boolean isCounterClockWise;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
2: aload 0
aconst_null
putfield org.apache.commons.math3.complex.RootsOfUnity.omegaReal:[D
3: aload 0
aconst_null
putfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryCounterClockwise:[D
4: aload 0
aconst_null
putfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryClockwise:[D
5: aload 0
iconst_1
putfield org.apache.commons.math3.complex.RootsOfUnity.isCounterClockWise:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/math3/complex/RootsOfUnity;
public synchronized boolean isCounterClockWise();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
ifne 4
1: new org.apache.commons.math3.exception.MathIllegalStateException
dup
2: getstatic org.apache.commons.math3.exception.util.LocalizedFormats.ROOTS_OF_UNITY_NOT_COMPUTED_YET:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
3: iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.MathIllegalStateException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.isCounterClockWise:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/complex/RootsOfUnity;
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalStateException
public synchronized void computeRoots(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: iload 1
ifne 4
1: new org.apache.commons.math3.exception.ZeroException
dup
2: getstatic org.apache.commons.math3.exception.util.LocalizedFormats.CANNOT_COMPUTE_0TH_ROOT_OF_UNITY:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
3: iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.ZeroException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 1
ifle 5
iconst_1
goto 6
StackMap locals:
StackMap stack: org.apache.commons.math3.complex.RootsOfUnity
5: iconst_0
StackMap locals: org.apache.commons.math3.complex.RootsOfUnity int
StackMap stack: org.apache.commons.math3.complex.RootsOfUnity int
6: putfield org.apache.commons.math3.complex.RootsOfUnity.isCounterClockWise:Z
7: iload 1
invokestatic org.apache.commons.math3.util.FastMath.abs:(I)I
istore 2
start local 2 8: iload 2
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
if_icmpne 10
9: return
10: StackMap locals: int
StackMap stack:
ldc 6.283185307179586
iload 2
i2d
ddiv
dstore 3
start local 3 11: dload 3
invokestatic org.apache.commons.math3.util.FastMath.cos:(D)D
dstore 5
start local 5 12: dload 3
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dstore 7
start local 7 13: aload 0
iload 2
newarray 7
putfield org.apache.commons.math3.complex.RootsOfUnity.omegaReal:[D
14: aload 0
iload 2
newarray 7
putfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryCounterClockwise:[D
15: aload 0
iload 2
newarray 7
putfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryClockwise:[D
16: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaReal:[D
iconst_0
dconst_1
dastore
17: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryCounterClockwise:[D
iconst_0
dconst_0
dastore
18: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryClockwise:[D
iconst_0
dconst_0
dastore
19: iconst_1
istore 9
start local 9 20: goto 29
21: StackMap locals: org.apache.commons.math3.complex.RootsOfUnity int int double double double int
StackMap stack:
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaReal:[D
iload 9
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaReal:[D
iload 9
iconst_1
isub
daload
dload 5
dmul
22: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryCounterClockwise:[D
iload 9
iconst_1
isub
daload
dload 7
dmul
dsub
23: dastore
24: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryCounterClockwise:[D
iload 9
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaReal:[D
iload 9
iconst_1
isub
daload
dload 7
dmul
25: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryCounterClockwise:[D
iload 9
iconst_1
isub
daload
dload 5
dmul
dadd
26: dastore
27: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryClockwise:[D
iload 9
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryCounterClockwise:[D
iload 9
daload
dneg
dastore
28: iinc 9 1
StackMap locals:
StackMap stack:
29: iload 9
iload 2
if_icmplt 21
end local 9 30: aload 0
iload 2
putfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
31: return
end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/apache/commons/math3/complex/RootsOfUnity;
0 32 1 n I
8 32 2 absN I
11 32 3 t D
12 32 5 cosT D
13 32 7 sinT D
20 30 9 i I
Exceptions:
throws org.apache.commons.math3.exception.ZeroException
MethodParameters:
Name Flags
n
public synchronized double getReal(int);
descriptor: (I)D
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
ifne 4
1: new org.apache.commons.math3.exception.MathIllegalStateException
dup
2: getstatic org.apache.commons.math3.exception.util.LocalizedFormats.ROOTS_OF_UNITY_NOT_COMPUTED_YET:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
3: iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.MathIllegalStateException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
iflt 5
iload 1
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
if_icmplt 11
5: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
6: getstatic org.apache.commons.math3.exception.util.LocalizedFormats.OUT_OF_RANGE_ROOT_OF_UNITY_INDEX:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
7: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
8: iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
9: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
iconst_1
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
10: invokespecial org.apache.commons.math3.exception.OutOfRangeException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaReal:[D
iload 1
daload
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/math3/complex/RootsOfUnity;
0 12 1 k I
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalStateException, org.apache.commons.math3.exception.MathIllegalArgumentException
MethodParameters:
Name Flags
k
public synchronized double getImaginary(int);
descriptor: (I)D
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
ifne 4
1: new org.apache.commons.math3.exception.MathIllegalStateException
dup
2: getstatic org.apache.commons.math3.exception.util.LocalizedFormats.ROOTS_OF_UNITY_NOT_COMPUTED_YET:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
3: iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.MathIllegalStateException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
iflt 5
iload 1
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
if_icmplt 11
5: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
6: getstatic org.apache.commons.math3.exception.util.LocalizedFormats.OUT_OF_RANGE_ROOT_OF_UNITY_INDEX:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
7: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
8: iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
9: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
iconst_1
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
10: invokespecial org.apache.commons.math3.exception.OutOfRangeException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.isCounterClockWise:Z
ifeq 12
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryCounterClockwise:[D
iload 1
daload
goto 13
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaImaginaryClockwise:[D
iload 1
daload
13: StackMap locals:
StackMap stack: double
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/commons/math3/complex/RootsOfUnity;
0 14 1 k I
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalStateException, org.apache.commons.math3.exception.OutOfRangeException
MethodParameters:
Name Flags
k
public synchronized int getNumberOfRoots();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.complex.RootsOfUnity.omegaCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/complex/RootsOfUnity;
}
SourceFile: "RootsOfUnity.java"