public class DComplex extends Complex implements java.io.Externalizable
| Constructor and Description |
|---|
DComplex () |
DComplex (double real,
double imag) |
| Modifier and Type | Method and Description |
|---|---|
Numeric |
add (java.lang.Object y,
int k)
Return this + k * obj.
|
static Complex |
cos (double x_re,
double x_im) |
static DComplex |
div (double x_re,
double x_im,
double y_re,
double y_im) |
Numeric |
div (java.lang.Object y) |
double |
doubleImagValue ()
The value of the imaginary component, as a double.
|
double |
doubleValue ()
The value of the real component, as a double.
|
boolean |
equals (java.lang.Object obj) |
RealNum |
im ()
The value of the imaginary component, as a RealNum.
|
boolean |
isExact () |
static Complex |
log (double x_re,
double x_im) |
Numeric |
mul (java.lang.Object y) |
Numeric |
neg () |
static Complex |
power (double x_re,
double x_im,
double y_re,
double y_im) |
RealNum |
re ()
The value of the real component, as a RealNum.
|
void |
readExternal (java.io.ObjectInput in) |
static Complex |
sin (double x_re,
double x_im) |
static Complex |
sqrt (double x_re,
double x_im) |
static Complex |
tan (double x_re,
double x_im) |
Complex |
toExact () |
java.lang.String |
toString () |
java.lang.String |
toString (int radix) |
static Complex |
unitQuaternion (double x_re,
double x_im) |
void |
writeExternal (java.io.ObjectOutput out) |
abs, add, addReversed, angle, classifyFinite, colatitude, compare, compare, complexPart, conjugate, cos, divide, divReversed, equals, exp, imMinusOne, imOne, isZero, jm, km, log, longitude, make, make, mulReversed, neg, polar, polar, power, sin, sqrt, tan, times, toInexact, unitQuaternion, unitVector, vectorPart add, compare, divide, doubleJmagValue, doubleKmagValue, doubleRealValue, equals, jmMinusOne, jmOne, kmMinusOne, kmOne, longValue, make, make, neg, number, polar, polar, power, times add, compare, compareReversed, dimensions, divide, imValue, jmValue, kmValue, make, make, make, reValue, times, unit add, asNumericOrNull, div_inv, floatValue, geq, grt, intValue, mul_ident, power, sub byteValue, shortValueclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DComplex()
public DComplex(double real, double imag)
public RealNum re()
Quantity public double doubleValue()
Quantity doubleValue in class Quaternion public RealNum im()
Quantity public double doubleImagValue()
Quantity doubleImagValue in class Quaternion public Numeric add(java.lang.Object y, int k)
Numeric public static Complex power(double x_re, double x_im, double y_re, double y_im)
public static Complex log(double x_re, double x_im)
public static DComplex div(double x_re, double x_im, double y_re, double y_im)
public static Complex sqrt(double x_re, double x_im)
public static Complex sin(double x_re, double x_im)
public static Complex cos(double x_re, double x_im)
public static Complex tan(double x_re, double x_im)
public static Complex unitQuaternion(double x_re, double x_im)
public 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