|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.simulation.WaveformImpl
com.sun.electric.tool.simulation.ComplexWaveform
public class ComplexWaveform
Complex Waveform - piecewise linear complex function of time There are methods which return realwaveforms which are real-part, imag-part, amplitude and phase of this complex waveform. This class also implements Waveform class as real waveform of amplitude.
Constructor Summary | |
---|---|
ComplexWaveform(double[] time,
double[] realValue,
double[] imagValue)
Constructs complex waveform by time/real/imag tripples. |
Method Summary | |
---|---|
Waveform |
getAmplitude()
Return real waveform which is amplitude of this complex waveform. |
Waveform |
getImag()
Return real waveform which is imag part of this complex waveform. |
Waveform |
getPhase()
Return real waveform which is phase of this complex waveform. |
Waveform |
getReal()
Return real waveform which is real part of this complex waveform. |
Methods inherited from class com.sun.electric.tool.simulation.WaveformImpl |
---|
getEvent, getNumEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComplexWaveform(double[] time, double[] realValue, double[] imagValue)
time
- time arrayrealValue
- array of real partsimagValue
- array of imag parts
java.lang.IllegalArgumentException
- if arrays don't have the same lengthMethod Detail |
---|
public Waveform getReal()
public Waveform getImag()
public Waveform getAmplitude()
public Waveform getPhase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |