org.mobicents.media.server.impl.resource.fft
Class Complex
java.lang.Object
org.mobicents.media.server.impl.resource.fft.Complex
public class Complex
- extends java.lang.Object
|
Constructor Summary |
Complex(double real,
double imag)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Complex
public Complex(double real,
double imag)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
abs
public double abs()
phase
public double phase()
plus
public Complex plus(Complex b)
minus
public Complex minus(Complex b)
times
public Complex times(Complex b)
times
public Complex times(double alpha)
conjugate
public Complex conjugate()
reciprocal
public Complex reciprocal()
re
public double re()
im
public double im()
divides
public Complex divides(Complex b)
exp
public Complex exp()
sin
public Complex sin()
cos
public Complex cos()
tan
public Complex tan()
plus
public static Complex plus(Complex a,
Complex b)
Copyright © 2010. All Rights Reserved.