com.isti.jevalresp
Class ComplexBlk

java.lang.Object
  extended by com.isti.jevalresp.ComplexBlk

public class ComplexBlk
extends java.lang.Object

Class ComplexBlk holds a complex number.


Field Summary
 double imag
           
 double real
           
 
Constructor Summary
ComplexBlk(double real, double imag)
           
 
Method Summary
 java.lang.String toString()
           
 void zMultiply(ComplexBlk val)
          Performs complex multiplication; complex version of this *= val.
 void zMultiply(double realVal, double imagVal)
          Performs complex multiplication; complex version of this *= (realVal,imagVal).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

real

public double real

imag

public double imag
Constructor Detail

ComplexBlk

public ComplexBlk(double real,
                  double imag)
Method Detail

zMultiply

public void zMultiply(ComplexBlk val)
Performs complex multiplication; complex version of this *= val.

Parameters:
val - value

zMultiply

public void zMultiply(double realVal,
                      double imagVal)
Performs complex multiplication; complex version of this *= (realVal,imagVal).

Parameters:
realVal - real value
imagVal - imaginary value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object