public class Complex extends java.lang.Object implements Obj, NativeObject<java.lang.Double>
| Modifier and Type | Method and Description |
|---|---|
Complex |
ceil() |
Complex |
conjugate() |
Complex |
cos() |
Complex |
cosh() |
Complex |
divide(Complex b) |
Obj |
divide(Obj other) |
boolean |
equals(java.lang.Object obj) |
Complex |
exp() |
Complex |
floor() |
Type<Complex> |
getType() |
double |
imaginary() |
Obj |
invoke(java.util.List<Obj> args) |
Bool |
isEqualTo(Obj other) |
Complex |
ln() |
Complex |
minus(Complex b) |
Obj |
minus(Obj other) |
Complex |
negative() |
static Complex |
of(double value) |
static Complex |
of(double re,
double im) |
Complex |
plus(Complex b) |
Obj |
plus(Obj other) |
Complex |
pow(Complex other) |
Obj |
pow(Obj other) |
double |
real() |
Complex |
round() |
Complex |
sin() |
Complex |
sinh() |
Complex |
tan() |
Complex |
tanh() |
Complex |
times(Complex b) |
Obj |
times(Obj other) |
java.lang.Double |
toNative() |
java.lang.String |
toString() |
public static Complex of(double value)
public static Complex of(double re, double im)
public java.lang.Double toNative()
toNative in interface NativeObject<java.lang.Double>toNative in interface Objpublic java.lang.String toString()
toString in class java.lang.Objectpublic Complex sin()
public Complex cos()
public Complex tan()
public Complex sinh()
public Complex cosh()
public Complex tanh()
public Complex ln()
public Complex exp()
public Complex conjugate()
public Complex ceil()
public Complex floor()
public Complex round()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic double real()
public double imaginary()