public class ComplexSample extends ScalarSample implements Sample
Modifier and Type | Field and Description |
---|---|
static Unboxed<ComplexSample> |
unboxer |
Constructor and Description |
---|
ComplexSample(double real,
double imag) |
Modifier and Type | Method and Description |
---|---|
static Signal<ComplexSample> |
createComplexSignal(SignalCollection sc,
Stimuli sd,
java.lang.String signalName,
java.lang.String signalContext) |
boolean |
equals(java.lang.Object o) |
double |
getImag() |
double |
getMaxValue() |
double |
getMinValue() |
double |
getReal() |
Sample |
glb(Sample s)
Return the greatest lower bound of this and s.
|
int |
hashCode() |
boolean |
isLogicX()
returns true iff this sample is "X" (unknown)
|
boolean |
isLogicZ()
returns true iff this sample is "Z" (unconnected)
|
Sample |
lub(Sample s)
Return the least upper bound of this and s.
|
compareTo, createSignal, createSignal, getValue, plotSig, toString
public static final Unboxed<ComplexSample> unboxer
public double getReal()
public double getImag()
public boolean equals(java.lang.Object o)
equals
in class ScalarSample
public int hashCode()
hashCode
in class ScalarSample
public boolean isLogicX()
Sample
isLogicX
in interface Sample
isLogicX
in class ScalarSample
public boolean isLogicZ()
Sample
isLogicZ
in interface Sample
isLogicZ
in class ScalarSample
public Sample lub(Sample s)
Sample
lub
in interface Sample
lub
in class ScalarSample
public Sample glb(Sample s)
Sample
glb
in interface Sample
glb
in class ScalarSample
public double getMinValue()
getMinValue
in interface Sample
getMinValue
in class ScalarSample
public double getMaxValue()
getMaxValue
in interface Sample
getMaxValue
in class ScalarSample
public static Signal<ComplexSample> createComplexSignal(SignalCollection sc, Stimuli sd, java.lang.String signalName, java.lang.String signalContext)