A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::JakesProcess::Oscillator Struct Reference

Represents a single oscillator. More...

+ Collaboration diagram for ns3::JakesProcess::Oscillator:

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
 

Public Attributes

std::complex< double > m_amplitude
 Complex number. More...
 
Rotation speed of the
oscillator f[\omega_d\cos(\alpha_n)]
double 
m_omega
 
Phase f[\phi_n] of the
oscillator double 
m_phase
 

Detailed Description

Represents a single oscillator.

Definition at line 68 of file jakes-process.h.

Constructor & Destructor Documentation

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.

Definition at line 34 of file jakes-process.cc.

Member Function Documentation

std::complex< double > ns3::JakesProcess::Oscillator::GetValueAt ( Time  t) const

Definition at line 41 of file jakes-process.cc.

References ns3::Time::GetSeconds().

+ Here is the call graph for this function:

Member Data Documentation

std::complex<double> ns3::JakesProcess::Oscillator::m_amplitude

Complex number.

Definition at line 75 of file jakes-process.h.

Rotation speed of the oscillator f [\omega_d \cos(\alpha_n)] double ns3::JakesProcess::Oscillator::m_omega

Definition at line 79 of file jakes-process.h.

Phase f [\phi_n] of the oscillator double ns3::JakesProcess::Oscillator::m_phase

Definition at line 77 of file jakes-process.h.


The documentation for this struct was generated from the following files: