UniVista.support
Class DoubleComplex

java.lang.Object
  |
  +--UniVista.support.DoubleComplex
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class DoubleComplex
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

this wrapper class holds complex nubmers with doubles used internally

See Also:
Serialized Form

Field Summary
 double im
          the imaginary component
 double re
          the real component
 
Constructor Summary
DoubleComplex()
           
 
Method Summary
 java.lang.Object clone()
          clone
 void duplicate(DoubleComplex c)
          duplicate
 boolean equals(java.lang.Object obj)
          compare for equality
 java.lang.String toString()
          convert to string
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

re

public double re
the real component

im

public double im
the imaginary component
Constructor Detail

DoubleComplex

public DoubleComplex()
Method Detail

clone

public java.lang.Object clone()
clone
Overrides:
clone in class java.lang.Object

duplicate

public void duplicate(DoubleComplex c)
duplicate

equals

public boolean equals(java.lang.Object obj)
compare for equality
Overrides:
equals in class java.lang.Object

toString

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