net.sarcommand.fft.deprecated
Class Complex
java.lang.Object
net.sarcommand.fft.deprecated.Complex
public class Complex
- extends java.lang.Object
Field Summary |
double |
im
|
double |
re
|
Constructor Summary |
Complex(double re,
double im)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
re
public double re
im
public double im
Complex
public Complex(double re,
double im)
makeComplexVector
public static Complex[] makeComplexVector(int M)
makeComplexVector
public static Complex[] makeComplexVector(double[] real,
double[] imag)
makeComplexVector
public static Complex[] makeComplexVector(double[] signal)
plus
public Complex plus(Complex b)
minus
public Complex minus(Complex b)
times
public Complex times(Complex b)
conjugate
public Complex conjugate()
reciprocal
public Complex reciprocal()
divides
public Complex divides(Complex b)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object