net.sarcommand.fft.deprecated
Class Complex

java.lang.Object
  extended by 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)
           
 
Method Summary
 Complex conjugate()
           
 Complex divides(Complex b)
           
static Complex[] makeComplexVector(double[] signal)
           
static Complex[] makeComplexVector(double[] real, double[] imag)
           
static Complex[] makeComplexVector(int M)
           
 Complex minus(Complex b)
           
 Complex plus(Complex b)
           
 Complex reciprocal()
           
 Complex times(Complex b)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

re

public double re

im

public double im
Constructor Detail

Complex

public Complex(double re,
               double im)
Method Detail

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