Constructor and Description |
---|
Complex(Complex c) |
Complex(double phi) |
Complex(double re,
double im) |
Complex(Point2D p) |
Modifier and Type | Method and Description |
---|---|
double |
abs() |
double |
abs2() |
Complex |
add(Complex c2) |
double |
arg() |
Complex |
conjugate() |
double |
crossProduct(Complex c2) |
double |
distance(Complex c2) |
double |
dotProduct(Complex c2) |
static Complex[] |
duplicate(Complex[] g1) |
Complex |
exp(int k) |
double |
im() |
static void |
main(String[] args) |
static Complex[] |
makeComplexVector(double[] signal) |
static Complex[] |
makeComplexVector(double[] real,
double[] imag) |
static Complex[] |
makeComplexVector(int M) |
Complex |
mult(Complex c2) |
Complex |
mult(double s) |
static void |
printComplexVector(Complex[] g,
String title) |
double |
re() |
Complex |
rotate(double phi) |
String |
toString() |
public double re()
public double im()
public static Complex[] makeComplexVector(int M)
public static Complex[] makeComplexVector(double[] signal)
public static Complex[] makeComplexVector(double[] real, double[] imag)
public double abs()
public double abs2()
public double arg()
public double crossProduct(Complex c2)
public double dotProduct(Complex c2)
public static void printComplexVector(Complex[] g, String title)
Copyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)