coins.ffront
Class FComplex
java.lang.Object
coins.ffront.FNumber
coins.ffront.FComplex
- class FComplex
- extends FNumber
|
Constructor Summary |
(package private) |
FComplex(double r,
double i)
|
| Methods inherited from class coins.ffront.FNumber |
add, checkType, cmpType, div, higherType, make, make, make, make, make, mul, p, pow, sub |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
n_
Complex n_
FComplex
FComplex(double r,
double i)
neg
public FNumber neg()
- Specified by:
neg in class FNumber
intValue
public int intValue()
- Specified by:
intValue in class FNumber
floatValue
public float floatValue()
- Specified by:
floatValue in class FNumber
doubleValue
public double doubleValue()
- Specified by:
doubleValue in class FNumber
complexValue
public Complex complexValue()
- Specified by:
complexValue in class FNumber
to
public FNumber to(FNumber n)
- Specified by:
to in class FNumber
add
public FNumber add(FComplex n)
mul
public FNumber mul(FComplex n)
sub
public FNumber sub(FComplex n)
div
public FNumber div(FComplex n)
toString
public java.lang.String toString()