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)
Division operator in AJE.
|
boolean |
equals(java.lang.Object obj) |
Complex |
exp() |
Complex |
floor() |
Obj |
getAttr(java.lang.String name)
Attribute operator in AJE.
|
Type<Complex> |
getType() |
Obj |
greaterThan(Obj other)
Greater than operator in AJE.
|
int |
hashCode() |
double |
imaginary() |
Obj |
invoke(java.util.List<Obj> arguments)
Invcoation operator in AJE.
|
Bool |
isEqualTo(Obj other)
Equality operator in AJE.
|
Obj |
lessThan(Obj other)
Less than operator in AJE.
|
Complex |
ln() |
Complex |
minus(Complex b) |
Obj |
minus(Obj other)
Subtraction operator in AJE.
|
Complex |
negative()
Negative numeric unary operator in AJE.
|
static Complex |
of(double value) |
static Complex |
of(double re,
double im) |
Complex |
plus(Complex b) |
Obj |
plus(Obj other)
Addition operator in AJE.
|
Complex |
pow(Complex other) |
Obj |
pow(Obj other)
Exponentiation operator in AJE.
|
double |
real() |
Complex |
round() |
Complex |
sin() |
Complex |
sinh() |
Complex |
tan() |
Complex |
tanh() |
Complex |
times(Complex b) |
Obj |
times(Obj other)
Multiplication operator in AJE.
|
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 Objnull if it doesn't implement the
NativeObject interface.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic Obj plus(Obj other)
Obj+.
Undefined.VALUE if not implemented.public Obj minus(Obj other)
Obj-.
Undefined.VALUE if not implemented.public Obj times(Obj other)
Obj*.
Undefined.VALUE if not implemented.public Obj divide(Obj other)
Obj/.
Undefined.VALUE if not implemented.public Obj pow(Obj other)
Obj^.
Undefined.VALUE if not implemented.public Bool isEqualTo(Obj other)
Obj==.
Bool representation of Object.equals(Object)
if not implemented.public Obj greaterThan(Obj other)
Obj>.
Undefined.VALUE if not implemented.greaterThan in interface Objother - Right Obj operand.Obj result of the operation.public Obj lessThan(Obj other)
Obj<.
Undefined.VALUE if not implemented.public 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 negative()
Obj-.public Complex ceil()
public Complex floor()
public Complex round()
public double real()
public double imaginary()
public Obj invoke(java.util.List<Obj> arguments)
Obja(b, c...).
Undefined.VALUE if not implemented.public Obj getAttr(java.lang.String name)
Obja.b.
Undefined.VALUE if not implemented.