public class Complex64F extends Object implements 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(double real,
double imaginary) |
void |
setImaginary(double imaginary) |
void |
setReal(double real) |
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 boolean isReal()
Copyright © 2013. All Rights Reserved.