public class Complex64F
extends java.lang.Object
implements java.io.Serializable
Represents a complex number using 64bit floating point numbers. A complex number is composed of a real and imaginary components.
| Constructor and Description |
|---|
Complex64F() |
Complex64F(double real,
double imaginary) |
| Modifier and Type | Method and Description |
|---|---|
double |
getImaginary() |
double |
getMagnitude() |
double |
getMagnitude2() |
double |
getReal() |
boolean |
isReal() |
void |
set(Complex64F a) |
void |
set(double real,
double imaginary) |
void |
setImaginary(double imaginary) |
void |
setReal(double real) |
java.lang.String |
toString() |
public Complex64F(double real,
double imaginary)
public Complex64F()
public double getReal()
public double getMagnitude()
public double getMagnitude2()
public void setReal(double real)
public double getImaginary()
public void setImaginary(double imaginary)
public void set(double real,
double imaginary)
public void set(Complex64F a)
public boolean isReal()
public java.lang.String toString()
toString in class java.lang.Object