public class CComplex extends Complex implements java.io.Externalizable
| Constructor and Description |
|---|
CComplex() |
CComplex(RealNum real,
RealNum imag) |
| Modifier and Type | Method and Description |
|---|---|
RealNum |
im()
The value of the imaginary component, as a RealNum.
|
RealNum |
re()
The value of the real component, as a RealNum.
|
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
abs, add, add, addReversed, angle, compare, compare, div, divide, divReversed, doubleImagValue, doubleRealValue, doubleValue, equals, equals, exp, imMinusOne, imOne, isExact, isZero, log, longValue, make, make, mul, mulReversed, neg, neg, number, polar, polar, power, sqrt, times, toExact, toInexact, toStringadd, compare, compareReversed, dimensions, divide, imValue, make, make, make, reValue, times, unitpublic RealNum re()
Quantitypublic RealNum im()
Quantitypublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException