This class Represents a single oscillator. More...
Public Member Functions | |
Oscillator (std::complex< double > amplitude, double initialPhase, double omega) | |
Initiate oscillator with complex amplitude, initial phase and rotation speed. | |
std::complex< double > | GetValueAt (Time t) const |
Get the complex amplitude at a given moment. | |
Public Attributes | |
std::complex< double > | m_amplitude |
Complex number . | |
double | m_omega |
Rotation speed of the oscillator . | |
double | m_phase |
Phase of the oscillator. | |
This class Represents a single oscillator.
Definition at line 80 of file jakes-process.h.
ns3::JakesProcess::Oscillator::Oscillator | ( | std::complex< double > | amplitude, |
double | initialPhase, | ||
double | omega ) |
Initiate oscillator with complex amplitude, initial phase and rotation speed.
Represents a single oscillator.
amplitude | initial complex amplitude |
initialPhase | initial phase |
omega | rotation speed |
Definition at line 25 of file jakes-process.cc.
Get the complex amplitude at a given moment.
t | time instant |
Definition at line 35 of file jakes-process.cc.
References ns3::Time::GetSeconds().
std::complex<double> ns3::JakesProcess::Oscillator::m_amplitude |
Complex number .
Definition at line 97 of file jakes-process.h.
double ns3::JakesProcess::Oscillator::m_omega |
Rotation speed of the oscillator .
Definition at line 99 of file jakes-process.h.
double ns3::JakesProcess::Oscillator::m_phase |
Phase of the oscillator.
Definition at line 98 of file jakes-process.h.