21 #ifndef SPECTRUM_VALUE_H 
   22 #define SPECTRUM_VALUE_H 
   25 #include <ns3/simple-ref-count.h> 
   26 #include <ns3/spectrum-model.h> 
  100   const double& 
operator[] (
size_t index) 
const;
 
  575   void Pow (
double exp);
 
  582   void Exp (
double base);
 
Values::const_iterator ConstValuesEnd() const 
 
SpectrumValue & operator*=(const SpectrumValue &rhs)
Multiply *this by the Right Hand Side of the operator, component by component. 
 
uint32_t SpectrumModelUid_t
Uid for SpectrumModels. 
 
void ChangeSign()
Change the values sign. 
 
SpectrumValue & operator/=(const SpectrumValue &rhs)
Divide *this by the Right Hand Side of the operator, component by component. 
 
double Integral(const SpectrumValue &arg)
 
void Subtract(const SpectrumValue &x)
Subtracts a SpectrumValue (element by element subtraction) 
 
SpectrumValue operator>>(int n) const 
right shift operator 
 
SpectrumValue & operator+=(const SpectrumValue &rhs)
Add the Right Hand Side of the operator to *this, component by component. 
 
Forward calls to a chain of Callback. 
 
SpectrumModelUid_t GetSpectrumModelUid() const 
 
friend SpectrumValue operator-(const SpectrumValue &lhs, const SpectrumValue &rhs)
subtraction operator 
 
std::vector< double > Values
Container for element values. 
 
Values::iterator ValuesEnd()
 
void Divide(const SpectrumValue &x)
Divides by a SpectrumValue (element to element division) 
 
void Multiply(const SpectrumValue &x)
Multiplies for a SpectrumValue (element to element multiplication) 
 
friend SpectrumValue operator+(const SpectrumValue &lhs, const SpectrumValue &rhs)
addition operator 
 
SpectrumValue & operator-=(const SpectrumValue &rhs)
Subtract the Right Hand Side of the operator from *this, component by component. 
 
Bands::const_iterator ConstBandsEnd() const 
 
SpectrumValue operator<<(int n) const 
left shift operator 
 
Ptr< const SpectrumModel > GetSpectrumModel() const 
 
friend SpectrumValue Pow(const SpectrumValue &lhs, double rhs)
 
void Add(const SpectrumValue &x)
Add a SpectrumValue (element to element addition) 
 
SpectrumValue Pow(double lhs, const SpectrumValue &rhs)
 
Ptr< const SpectrumModel > m_spectrumModel
The spectrum model. 
 
void ShiftRight(int n)
Shift the values to the right. 
 
friend double Prod(const SpectrumValue &x)
 
Bands::const_iterator ConstBandsBegin() const 
 
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output 
 
void Log2()
Applies a Log2 to each the elements. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
void Log()
Applies a Log to each the elements. 
 
friend SpectrumValue operator/(const SpectrumValue &lhs, const SpectrumValue &rhs)
division component-by-component 
 
void Log10()
Applies a Log10 to each the elements. 
 
SpectrumValue Log10(const SpectrumValue &arg)
 
Values m_values
Set of values which implement the codomain of the functions in the Function Space defined by Spectrum...
 
double & operator[](size_t index)
Access value at given frequency index. 
 
Values::iterator ValuesBegin()
 
SpectrumValue Log(const SpectrumValue &arg)
 
double Norm(const SpectrumValue &x)
 
SpectrumValue & operator=(double rhs)
Assign each component of *this to the value of the Right Hand Side of the operator. 
 
void ShiftLeft(int n)
Shift the values to the left. 
 
double Sum(const SpectrumValue &x)
 
Ptr< SpectrumValue > Copy() const 
 
friend double Integral(const SpectrumValue &arg)
 
Values::const_iterator ConstValuesBegin() const 
 
friend double Sum(const SpectrumValue &x)
 
friend double Norm(const SpectrumValue &x)
 
friend SpectrumValue operator*(const SpectrumValue &lhs, const SpectrumValue &rhs)
multiplication component-by-component (Schur product) 
 
SpectrumValue Log2(const SpectrumValue &arg)
 
Set of values corresponding to a given SpectrumModel. 
 
A template-based reference counting class. 
 
void Exp(double base)
Modifies each element so that it is the base raised to each element value. 
 
double Prod(const SpectrumValue &x)