public class org.apache.commons.math3.complex.ComplexUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.complex.ComplexUtils
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/complex/ComplexUtils;
public static org.apache.commons.math3.complex.Complex polar2Complex(double, double);
descriptor: (DD)Lorg/apache/commons/math3/complex/Complex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 2 0: dload 0
dconst_0
dcmpg
ifge 4
1: new org.apache.commons.math3.exception.MathIllegalArgumentException
dup
2: getstatic org.apache.commons.math3.exception.util.LocalizedFormats.NEGATIVE_COMPLEX_MODULE:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_1
anewarray java.lang.Object
dup
iconst_0
dload 0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
3: aastore
invokespecial org.apache.commons.math3.exception.MathIllegalArgumentException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
new org.apache.commons.math3.complex.Complex
dup
dload 0
dload 2
invokestatic org.apache.commons.math3.util.FastMath.cos:(D)D
dmul
dload 0
dload 2
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dmul
invokespecial org.apache.commons.math3.complex.Complex.<init>:(DD)V
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 r D
0 5 2 theta D
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalArgumentException
MethodParameters:
Name Flags
r
theta
public static org.apache.commons.math3.complex.Complex[] convertToComplex(double[]);
descriptor: ([D)[Lorg/apache/commons/math3/complex/Complex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray org.apache.commons.math3.complex.Complex
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: org.apache.commons.math3.complex.Complex[] int
StackMap stack:
aload 1
iload 2
new org.apache.commons.math3.complex.Complex
dup
aload 0
iload 2
daload
dconst_0
invokespecial org.apache.commons.math3.complex.Complex.<init>:(DD)V
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 real [D
1 7 1 c [Lorg/apache/commons/math3/complex/Complex;
2 6 2 i I
MethodParameters:
Name Flags
real
}
SourceFile: "ComplexUtils.java"