gnu.math

Class Complex

public abstract class Complex extends Quantity

Method Summary
Numericabs()
static Complexadd(Complex x, Complex y, int k)
Numericadd(Object y, int k)
NumericaddReversed(Numeric x, int k)
RealNumangle()
static intcompare(Complex x, Complex y)
intcompare(Object obj)
Numericdiv(Object y)
static Complexdivide(Complex x, Complex y)
NumericdivReversed(Numeric x)
doubledoubleImagValue()
doubledoubleRealValue()
doubledoubleValue()
static booleanequals(Complex x, Complex y)
booleanequals(Object obj)
Complexexp()
static CCompleximMinusOne()
static CCompleximOne()
booleanisExact()
booleanisZero()
Complexlog()
longlongValue()
static Complexmake(RealNum re, RealNum im)
static Complexmake(double re, double im)
Numericmul(Object y)
NumericmulReversed(Numeric x)
static Complexneg(Complex x)
Numericneg()
Complexnumber()
static DComplexpolar(double r, double t)
static DComplexpolar(RealNum r, RealNum t)
static Complexpower(Complex x, Complex y)
Complexsqrt()
static Complextimes(Complex x, Complex y)
StringtoString(int radix)

Method Detail

abs

public Numeric abs()

add

public static Complex add(Complex x, Complex y, int k)

add

public Numeric add(Object y, int k)

addReversed

public Numeric addReversed(Numeric x, int k)

angle

public RealNum angle()

compare

public static int compare(Complex x, Complex y)

compare

public int compare(Object obj)

div

public Numeric div(Object y)

divide

public static Complex divide(Complex x, Complex y)

divReversed

public Numeric divReversed(Numeric x)

doubleImagValue

public double doubleImagValue()

doubleRealValue

public final double doubleRealValue()

doubleValue

public double doubleValue()

equals

public static boolean equals(Complex x, Complex y)

equals

public boolean equals(Object obj)

exp

public Complex exp()

imMinusOne

public static CComplex imMinusOne()

imOne

public static CComplex imOne()

isExact

public boolean isExact()

isZero

public boolean isZero()

log

public Complex log()

longValue

public long longValue()

make

public static Complex make(RealNum re, RealNum im)

make

public static Complex make(double re, double im)

mul

public Numeric mul(Object y)

mulReversed

public Numeric mulReversed(Numeric x)

neg

public static Complex neg(Complex x)

neg

public Numeric neg()

number

public Complex number()

polar

public static DComplex polar(double r, double t)

polar

public static DComplex polar(RealNum r, RealNum t)

power

public static Complex power(Complex x, Complex y)

sqrt

public Complex sqrt()

times

public static Complex times(Complex x, Complex y)

toString

public String toString(int radix)