org.bioconductor.packages.rservices
Class RComplex

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

public class RComplex
extends RVector

See Also:
Serialized Form

Field Summary
protected  double[] imaginary
           
protected  int[] indexNA
           
protected  double[] real
           
 
Fields inherited from class org.bioconductor.packages.rservices.RVector
names
 
Constructor Summary
RComplex()
           
RComplex(double[] real, double[] imaginary, int[] indexNA, java.lang.String[] names)
           
 
Method Summary
 boolean equals(java.lang.Object inputObject)
           
 double[] getImaginary()
          Gets the imaginary for this RComplex.
 int[] getIndexNA()
          Gets the NA indices for this RComplex.
 double[] getReal()
          Gets the real for this RComplex.
 int length()
           
 void setImaginary(java.lang.Double imaginary)
          Sets the imaginary for this RComplex.
 void setImaginary(double[] imaginary)
          Sets the imaginary for this RComplex.
 void setIndexNA(int[] indexNA)
          Sets the NA indices for this RComplex, start from 0
 void setReal(java.lang.Double real)
          Sets the real for this RComplex.
 void setReal(double[] real)
          Sets the real for this RComplex.
 java.lang.String toString()
           
 
Methods inherited from class org.bioconductor.packages.rservices.RVector
getNames, setNames
 
Methods inherited from class org.bioconductor.packages.rservices.RObject
getOutputMsg, setOutputMsg
 
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

indexNA

protected int[] indexNA
Constructor Detail

RComplex

public RComplex()

RComplex

public RComplex(double[] real,
                double[] imaginary,
                int[] indexNA,
                java.lang.String[] names)
Method Detail

setReal

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

Parameters:
real -

setReal

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

Parameters:
real -

getReal

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

Returns:
real

setImaginary

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

Parameters:
imaginary -

setImaginary

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

Parameters:
imaginary -

getImaginary

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

Returns:
imaginary

setIndexNA

public void setIndexNA(int[] indexNA)
Sets the NA indices for this RComplex, start from 0

Parameters:
indexNA -

getIndexNA

public int[] getIndexNA()
Gets the NA indices for this RComplex.

Returns:
indexNA

length

public int length()
Overrides:
length in class RVector

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.