org.bioconductor.packages.rservices
Class RJComplex

java.lang.Object
  extended by org.bioconductor.packages.rservices.RJComplex
All Implemented Interfaces:
java.io.Serializable

public class RJComplex
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  double[] imaginary
           
protected  double[] real
           
 
Constructor Summary
RJComplex()
           
RJComplex(double[] real, double[] imaginary)
           
 
Method Summary
 boolean equals(java.lang.Object inputObject)
           
 double[] getImaginary()
          Gets the imaginary for this RJComplex.
 double[] getReal()
          Gets the real for this RJComplex.
 int length()
           
 void setImaginary(java.lang.Double imaginary)
          Sets the imaginary for this RJComplex.
 void setImaginary(double[] imaginary)
          Sets the imaginary for this RJComplex.
 void setReal(java.lang.Double real)
          Sets the real for this RJComplex.
 void setReal(double[] real)
          Sets the real for this RJComplex.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

real

protected double[] real

imaginary

protected double[] imaginary
Constructor Detail

RJComplex

public RJComplex()

RJComplex

public RJComplex(double[] real,
                 double[] imaginary)
Method Detail

setReal

public void setReal(double[] real)
Sets the real for this RJComplex.

Parameters:
real -

setReal

public void setReal(java.lang.Double real)
Sets the real for this RJComplex.

Parameters:
real -

getReal

public double[] getReal()
Gets the real for this RJComplex.

Returns:
real

setImaginary

public void setImaginary(double[] imaginary)
Sets the imaginary for this RJComplex.

Parameters:
imaginary -

setImaginary

public void setImaginary(java.lang.Double imaginary)
Sets the imaginary for this RJComplex.

Parameters:
imaginary -

getImaginary

public double[] getImaginary()
Gets the imaginary for this RJComplex.

Returns:
imaginary

length

public int length()

equals

public boolean equals(java.lang.Object inputObject)
Overrides:
equals in class java.lang.Object

toString

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


Copyright Bioconductor. All Rights Reserved.