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. More... | |
std::complex< double > | GetValueAt (Time t) const |
Get the complex amplitude at a given moment. More... | |
Public Attributes | |
std::complex< double > | m_amplitude |
Complex number . More... | |
double | m_omega |
Rotation speed of the oscillator . More... | |
double | m_phase |
Phase of the oscillator. More... | |
This class Represents a single oscillator.
Definition at line 87 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 34 of file jakes-process.cc.
std::complex< double > ns3::JakesProcess::Oscillator::GetValueAt | ( | Time | t | ) | const |
Get the complex amplitude at a given moment.
t | time instant |
Definition at line 41 of file jakes-process.cc.
References ns3::Time::GetSeconds().
std::complex<double> ns3::JakesProcess::Oscillator::m_amplitude |
Complex number .
Definition at line 103 of file jakes-process.h.
double ns3::JakesProcess::Oscillator::m_omega |
Rotation speed of the oscillator .
Definition at line 105 of file jakes-process.h.
double ns3::JakesProcess::Oscillator::m_phase |
Phase of the oscillator.
Definition at line 104 of file jakes-process.h.