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)
Copyright 1990, 1991, 1992, 1993 by AT&T Bell Laboratories and Bellcore.
|
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 DComplex |
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, vectorPartadd, compare, divide, doubleJmagValue, doubleKmagValue, doubleRealValue, equals, jmMinusOne, jmOne, kmMinusOne, kmOne, longValue, make, make, neg, number, polar, polar, power, timesadd, compare, compareReversed, dimensions, divide, imValue, jmValue, kmValue, make, make, make, reValue, times, unitpublic RealNum re()
Quantitypublic double doubleValue()
QuantitydoubleValue in class Quaternionpublic RealNum im()
Quantitypublic double doubleImagValue()
QuantitydoubleImagValue in class Quaternionpublic Numeric add(java.lang.Object y, int k)
Numericpublic static DComplex 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