Package jdistlib.math
Class Complex
java.lang.Object
jdistlib.math.Complex
Immutable double-precision complex value used by Java integrations.
-
Field Details
-
ZERO
-
ONE
-
I
-
-
Constructor Details
-
Complex
public Complex(double real, double imaginary)
-
-
Method Details
-
real
public double real() -
imaginary
public double imaginary() -
abs
public double abs() -
norm
public double norm() -
arg
public double arg() -
add
-
subtract
-
multiply
-
divide
-
conjugate
-
exp
-
log
-
sqrt
-
sin
-
cos
-
tan
-
sinh
-
cosh
-
tanh
-
pow
-
equals
-
hashCode
public int hashCode() -
toString
-