Set of values corresponding to a given SpectrumModel. More...
#include "spectrum-value.h"
Public Types | |
typedef void(* | TracedCallback) (Ptr< SpectrumValue > value) |
TracedCallback signature for SpectrumValue. More... | |
Public Member Functions | |
SpectrumValue () | |
SpectrumValue (Ptr< const SpectrumModel > sm) | |
SpectrumValue constructor. More... | |
Bands::const_iterator | ConstBandsBegin () const |
Bands::const_iterator | ConstBandsEnd () const |
Values::const_iterator | ConstValuesBegin () const |
Values::const_iterator | ConstValuesEnd () const |
Ptr< SpectrumValue > | Copy () const |
Ptr< const SpectrumModel > | GetSpectrumModel () const |
SpectrumModelUid_t | GetSpectrumModelUid () const |
Values & | GetValues () |
Provides the direct access to the underlying std::vector<double> that stores the spectrum values. More... | |
const Values & | GetValues () const |
Provides the direct read-only access to the underlying std::vector<double> that stores the spectrum values. More... | |
uint32_t | GetValuesN () const |
Get the number of values stored in the array. More... | |
SpectrumValue & | operator*= (const SpectrumValue &rhs) |
Multiply *this by the Right Hand Side of the operator, component by component. More... | |
SpectrumValue & | operator*= (double rhs) |
Multiply every component of *this by the value of the Right Hand Side of the operator. More... | |
SpectrumValue & | operator+= (const SpectrumValue &rhs) |
Add the Right Hand Side of the operator to *this, component by component. More... | |
SpectrumValue & | operator+= (double rhs) |
Add the value of the Right Hand Side of the operator to all components of *this. More... | |
SpectrumValue & | operator-= (const SpectrumValue &rhs) |
Subtract the Right Hand Side of the operator from *this, component by component. More... | |
SpectrumValue & | operator-= (double rhs) |
Subtract the value of the Right Hand Side of the operator from all components of *this. More... | |
SpectrumValue & | operator/= (const SpectrumValue &rhs) |
Divide *this by the Right Hand Side of the operator, component by component. More... | |
SpectrumValue & | operator/= (double rhs) |
Divide every component of *this by the value of the Right Hand Side of the operator. More... | |
SpectrumValue | operator<< (int n) const |
left shift operator More... | |
SpectrumValue & | operator= (double rhs) |
Assign each component of *this to the value of the Right Hand Side of the operator. More... | |
SpectrumValue | operator>> (int n) const |
right shift operator More... | |
double & | operator[] (size_t index) |
Access value at given frequency index. More... | |
const double & | operator[] (size_t index) const |
Access value at given frequency index. More... | |
void | SetValues (Values &&values) |
Directly set the values by moving the values from the input std::vector<double> More... | |
void | SetValues (Values &values) |
Directly set the values using the std::vector<double> More... | |
const double & | ValuesAt (uint32_t pos) const |
Get the value element at the position. More... | |
Values::iterator | ValuesBegin () |
Values::iterator | ValuesEnd () |
Public Member Functions inherited from ns3::SimpleRefCount< SpectrumValue > | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o[[maybe_unused]]) |
Assignment operator. More... | |
void | Ref () const |
Increment the reference count. More... | |
void | Unref () const |
Decrement the reference count. More... | |
Private Member Functions | |
void | Add (const SpectrumValue &x) |
Add a SpectrumValue (element to element addition) More... | |
void | Add (double s) |
Add a flat value to all the current elements. More... | |
void | ChangeSign () |
Change the values sign. More... | |
void | Divide (const SpectrumValue &x) |
Divides by a SpectrumValue (element to element division) More... | |
void | Divide (double s) |
Divides by a flat value to all the current elements. More... | |
void | Exp (double base) |
Modifies each element so that it is the base raised to each element value. More... | |
void | Log () |
Applies a Log to each the elements. More... | |
void | Log10 () |
Applies a Log10 to each the elements. More... | |
void | Log2 () |
Applies a Log2 to each the elements. More... | |
void | Multiply (const SpectrumValue &x) |
Multiplies for a SpectrumValue (element to element multiplication) More... | |
void | Multiply (double s) |
Multiplies for a flat value to all the current elements. More... | |
void | Pow (double exp) |
Modifies each element so that it each element is raised to the exponent. More... | |
void | ShiftLeft (int n) |
Shift the values to the left. More... | |
void | ShiftRight (int n) |
Shift the values to the right. More... | |
void | Subtract (const SpectrumValue &x) |
Subtracts a SpectrumValue (element by element subtraction) More... | |
void | Subtract (double s) |
Subtracts a flat value to all the current elements. More... | |
Private Attributes | |
Ptr< const SpectrumModel > | m_spectrumModel |
The spectrum model. More... | |
Values | m_values |
Set of values which implement the codomain of the functions in the Function Space defined by SpectrumValue. More... | |
Friends | |
double | Integral (const SpectrumValue &arg) |
SpectrumValue | Log (const SpectrumValue &arg) |
SpectrumValue | Log10 (const SpectrumValue &arg) |
SpectrumValue | Log2 (const SpectrumValue &arg) |
double | Norm (const SpectrumValue &x) |
bool | operator!= (const SpectrumValue &lhs, const SpectrumValue &rhs) |
Compare two spectrum values. More... | |
SpectrumValue | operator* (const SpectrumValue &lhs, const SpectrumValue &rhs) |
multiplication component-by-component (Schur product) More... | |
SpectrumValue | operator* (const SpectrumValue &lhs, double rhs) |
multiplication by a scalar More... | |
SpectrumValue | operator* (double lhs, const SpectrumValue &rhs) |
multiplication of a scalar More... | |
SpectrumValue | operator+ (const SpectrumValue &lhs, const SpectrumValue &rhs) |
addition operator More... | |
SpectrumValue | operator+ (const SpectrumValue &lhs, double rhs) |
addition operator More... | |
SpectrumValue | operator+ (const SpectrumValue &rhs) |
unary plus operator More... | |
SpectrumValue | operator+ (double lhs, const SpectrumValue &rhs) |
addition operator More... | |
SpectrumValue | operator- (const SpectrumValue &lhs, const SpectrumValue &rhs) |
subtraction operator More... | |
SpectrumValue | operator- (const SpectrumValue &lhs, double rhs) |
subtraction operator More... | |
SpectrumValue | operator- (const SpectrumValue &rhs) |
unary minus operator More... | |
SpectrumValue | operator- (double lhs, const SpectrumValue &rhs) |
subtraction operator More... | |
SpectrumValue | operator/ (const SpectrumValue &lhs, const SpectrumValue &rhs) |
division component-by-component More... | |
SpectrumValue | operator/ (const SpectrumValue &lhs, double rhs) |
division by a scalar More... | |
SpectrumValue | operator/ (double lhs, const SpectrumValue &rhs) |
division of a scalar More... | |
bool | operator== (const SpectrumValue &lhs, const SpectrumValue &rhs) |
Compare two spectrum values. More... | |
SpectrumValue | Pow (const SpectrumValue &lhs, double rhs) |
SpectrumValue | Pow (double lhs, const SpectrumValue &rhs) |
double | Prod (const SpectrumValue &x) |
double | Sum (const SpectrumValue &x) |
Set of values corresponding to a given SpectrumModel.
This class implements a Function Space which can represent any function
Every instance of this class represent a particular function . The domain of the function space, i.e., , is implemented by Bands. The codomain of the function space is implemented by Values.
To every possible value of corresponds a different Function Space. Mathematical operations are defined in this Function Space; these operations are implemented by means of operator overloading.
The intended use of this class is to represent frequency-dependent things, such as power spectral densities, frequency-dependent propagation losses, spectral masks, etc.
Definition at line 60 of file spectrum-value.h.
typedef void(* ns3::SpectrumValue::TracedCallback) (Ptr< SpectrumValue > value) |
TracedCallback signature for SpectrumValue.
[in] | value | Value of the traced variable. |
Ptr<SpectrumPhy>
argument is deprecated and will be changed to Ptr<const SpectrumPhy>
in a future release. Definition at line 572 of file spectrum-value.h.
ns3::SpectrumValue::SpectrumValue | ( | Ptr< const SpectrumModel > | sm | ) |
SpectrumValue constructor.
sm | pointer to the SpectrumModel which implements the set of frequencies to which the values will be referring. |
Definition at line 35 of file spectrum-value.cc.
ns3::SpectrumValue::SpectrumValue | ( | ) |
Definition at line 31 of file spectrum-value.cc.
|
private |
Add a SpectrumValue (element to element addition)
x | SpectrumValue |
Definition at line 102 of file spectrum-value.cc.
References m_spectrumModel, m_values, NS_ASSERT, and two-ray-to-three-gpp-ch-calibration::x.
Referenced by operator+=(), and Subtract().
|
private |
Add a flat value to all the current elements.
s | flat value |
Definition at line 119 of file spectrum-value.cc.
References m_values.
|
private |
Bands::const_iterator ns3::SpectrumValue::ConstBandsBegin | ( | ) | const |
Definition at line 90 of file spectrum-value.cc.
References ns3::SpectrumModel::Begin(), and m_spectrumModel.
Referenced by ns3::WifiSpectrumValueHelper::CreateDsssTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateHeMuOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateSpectrumMaskForOfdm(), ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), TvSpectrumTransmitterTestCase::DoRun(), ns3::ShannonSpectrumErrorModel::EvaluateChunk(), ns3::ThreeGppSpectrumPropagationLossModel::GenSpectrumChannelMatrix(), and ns3::WifiSpectrumValueHelper::GetBandPowerW().
Bands::const_iterator ns3::SpectrumValue::ConstBandsEnd | ( | ) | const |
Definition at line 96 of file spectrum-value.cc.
References ns3::SpectrumModel::End(), and m_spectrumModel.
Referenced by ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), TvSpectrumTransmitterTestCase::DoRun(), and ns3::ShannonSpectrumErrorModel::EvaluateChunk().
Values::const_iterator ns3::SpectrumValue::ConstValuesBegin | ( | ) | const |
Definition at line 66 of file spectrum-value.cc.
References m_values.
Referenced by ns3::LteUePhy::ComputeAvgSinr(), ns3::LteAmc::CreateCqiFeedbacks(), ns3::LteEnbPhy::CreatePuschCqiReport(), ns3::LteEnbPhy::CreateSrsCqiReport(), TvSpectrumTransmitterTestCase::DoRun(), WifiOfdmMaskSlopesTestCase::DoRun(), ns3::ShannonSpectrumErrorModel::EvaluateChunk(), ns3::LteUePhy::GenerateCqiRsrpRsrq(), ns3::WifiSpectrumValueHelper::GetBandPowerW(), ns3::LteMiErrorModel::GetPcfichPdcchError(), ns3::operator<<(), ns3::LteUePhy::ReceivePss(), and ns3::LteUePhy::ReportRsReceivedPower().
Values::const_iterator ns3::SpectrumValue::ConstValuesEnd | ( | ) | const |
Definition at line 72 of file spectrum-value.cc.
References m_values.
Referenced by ns3::LteUePhy::ComputeAvgSinr(), ns3::LteAmc::CreateCqiFeedbacks(), ns3::LteEnbPhy::CreatePuschCqiReport(), ns3::LteEnbPhy::CreateSrsCqiReport(), TvSpectrumTransmitterTestCase::DoRun(), WifiOfdmMaskSlopesTestCase::DoRun(), ns3::ShannonSpectrumErrorModel::EvaluateChunk(), ns3::LteUePhy::GenerateCqiRsrpRsrq(), ns3::LteMiErrorModel::GetPcfichPdcchError(), ns3::operator<<(), ns3::LteUePhy::ReceivePss(), and ns3::LteUePhy::ReportRsReceivedPower().
Ptr< SpectrumValue > ns3::SpectrumValue::Copy | ( | void | ) | const |
Definition at line 378 of file spectrum-value.cc.
References m_spectrumModel.
Referenced by ns3::SpectrumSignalParameters::SpectrumSignalParameters(), ThreeGppSpectrumPropagationLossModelTest::DoRun(), ns3::LrWpanInterferenceHelper::GetSignalPsd(), and LteUplinkSrsSinrTestCase::ReportSinr().
|
private |
Divides by a SpectrumValue (element to element division)
x | SpectrumValue |
Definition at line 183 of file spectrum-value.cc.
References m_spectrumModel, m_values, NS_ASSERT, and two-ray-to-three-gpp-ch-calibration::x.
Referenced by operator/=().
|
private |
Divides by a flat value to all the current elements.
s | flat value |
Definition at line 200 of file spectrum-value.cc.
References m_values, and NS_LOG_FUNCTION.
|
private |
Modifies each element so that it is the base raised to each element value.
base | the base |
Definition at line 270 of file spectrum-value.cc.
References m_values, and NS_LOG_FUNCTION.
Ptr< const SpectrumModel > ns3::SpectrumValue::GetSpectrumModel | ( | ) | const |
Definition at line 60 of file spectrum-value.cc.
References m_spectrumModel.
Referenced by ns3::WifiSpectrumValueHelper::CreateDsssTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateDuplicated20MhzTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateHeMuOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateHeOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateHtOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateSpectrumMaskForOfdm(), SpectrumValueTestCase::DoRun(), ns3::LteChunkProcessor::EvaluateChunk(), ns3::SpectrumAnalyzer::GenerateReport(), ns3::LrWpanPhy::GetRxSpectrumModel(), ns3::HalfDuplexIdealPhy::GetRxSpectrumModel(), ns3::WifiSpectrumValueHelper::NormalizeSpectrumMask(), ns3::MultiModelSpectrumChannel::StartTx(), ns3::SingleModelSpectrumChannel::StartTx(), Bug2843TestCase::StoreDistinctTuple(), and ns3::PhyEntity::Transmit().
SpectrumModelUid_t ns3::SpectrumValue::GetSpectrumModelUid | ( | ) | const |
Definition at line 54 of file spectrum-value.cc.
References ns3::SpectrumModel::GetUid(), and m_spectrumModel.
Referenced by LteDownlinkPowerControlSpectrumValueTestCase::DoRun(), LteNoisePsdTestCase::DoRun(), LteTxPsdTestCase::DoRun(), and ns3::MultiModelSpectrumChannel::StartTx().
|
inline |
Provides the direct access to the underlying std::vector<double> that stores the spectrum values.
Definition at line 191 of file spectrum-value.h.
References m_values.
|
inline |
Provides the direct read-only access to the underlying std::vector<double> that stores the spectrum values.
Definition at line 201 of file spectrum-value.h.
References m_values.
uint32_t ns3::SpectrumValue::GetValuesN | ( | ) | const |
Get the number of values stored in the array.
Definition at line 655 of file spectrum-value.cc.
References m_values.
Referenced by ns3::ThreeGppSpectrumPropagationLossModel::CalcBeamformingGain(), and ns3::ThreeGppSpectrumPropagationLossModel::GenSpectrumChannelMatrix().
|
private |
Applies a Log to each the elements.
Definition at line 309 of file spectrum-value.cc.
References m_values, and NS_LOG_FUNCTION.
|
private |
Applies a Log10 to each the elements.
Definition at line 283 of file spectrum-value.cc.
References m_values, and NS_LOG_FUNCTION.
|
private |
Applies a Log2 to each the elements.
Definition at line 296 of file spectrum-value.cc.
References m_values, and NS_LOG_FUNCTION.
|
private |
Multiplies for a SpectrumValue (element to element multiplication)
x | SpectrumValue |
Definition at line 154 of file spectrum-value.cc.
References m_spectrumModel, m_values, NS_ASSERT, and two-ray-to-three-gpp-ch-calibration::x.
Referenced by operator*=().
|
private |
Multiplies for a flat value to all the current elements.
s | flat value |
Definition at line 171 of file spectrum-value.cc.
References m_values.
SpectrumValue & ns3::SpectrumValue::operator*= | ( | const SpectrumValue & | rhs | ) |
Multiply *this by the Right Hand Side of the operator, component by component.
rhs | the Right Hand Side |
Definition at line 584 of file spectrum-value.cc.
References Multiply().
SpectrumValue & ns3::SpectrumValue::operator*= | ( | double | rhs | ) |
Multiply every component of *this by the value of the Right Hand Side of the operator.
rhs | the Right Hand Side |
Definition at line 612 of file spectrum-value.cc.
References Multiply().
SpectrumValue & ns3::SpectrumValue::operator+= | ( | const SpectrumValue & | rhs | ) |
Add the Right Hand Side of the operator to *this, component by component.
rhs | the Right Hand Side |
Definition at line 570 of file spectrum-value.cc.
References Add().
SpectrumValue & ns3::SpectrumValue::operator+= | ( | double | rhs | ) |
Add the value of the Right Hand Side of the operator to all components of *this.
rhs | the Right Hand Side |
Definition at line 598 of file spectrum-value.cc.
References Add().
SpectrumValue & ns3::SpectrumValue::operator-= | ( | const SpectrumValue & | rhs | ) |
Subtract the Right Hand Side of the operator from *this, component by component.
rhs | the Right Hand Side |
Definition at line 577 of file spectrum-value.cc.
References Subtract().
SpectrumValue & ns3::SpectrumValue::operator-= | ( | double | rhs | ) |
Subtract the value of the Right Hand Side of the operator from all components of *this.
rhs | the Right Hand Side |
Definition at line 605 of file spectrum-value.cc.
References Subtract().
SpectrumValue & ns3::SpectrumValue::operator/= | ( | const SpectrumValue & | rhs | ) |
Divide *this by the Right Hand Side of the operator, component by component.
rhs | the Right Hand Side |
Definition at line 591 of file spectrum-value.cc.
References Divide().
SpectrumValue & ns3::SpectrumValue::operator/= | ( | double | rhs | ) |
Divide every component of *this by the value of the Right Hand Side of the operator.
rhs | the Right Hand Side |
Definition at line 619 of file spectrum-value.cc.
References Divide().
SpectrumValue ns3::SpectrumValue::operator<< | ( | int | n | ) | const |
left shift operator
n | position to shift |
Definition at line 638 of file spectrum-value.cc.
References two-ray-to-three-gpp-ch-calibration::res.
SpectrumValue & ns3::SpectrumValue::operator= | ( | double | rhs | ) |
Assign each component of *this to the value of the Right Hand Side of the operator.
rhs |
Definition at line 626 of file spectrum-value.cc.
References m_values.
SpectrumValue ns3::SpectrumValue::operator>> | ( | int | n | ) | const |
right shift operator
n | position to shift |
Definition at line 647 of file spectrum-value.cc.
References two-ray-to-three-gpp-ch-calibration::res.
double & ns3::SpectrumValue::operator[] | ( | size_t | index | ) |
Access value at given frequency index.
index | the given frequency index |
Definition at line 42 of file spectrum-value.cc.
References m_values.
const double & ns3::SpectrumValue::operator[] | ( | size_t | index | ) | const |
Access value at given frequency index.
index | the given frequency index |
Definition at line 48 of file spectrum-value.cc.
References m_values.
|
private |
Modifies each element so that it each element is raised to the exponent.
exp | the exponent |
Definition at line 257 of file spectrum-value.cc.
References m_values, and NS_LOG_FUNCTION.
|
inline |
Directly set the values by moving the values from the input std::vector<double>
values | a reference to the std::vector<double> to be moved |
Definition at line 178 of file spectrum-value.h.
References ns3::SpectrumModel::GetNumBands(), m_spectrumModel, m_values, and NS_ASSERT_MSG.
|
inline |
Directly set the values using the std::vector<double>
values | a reference to the std::vector<double> |
Definition at line 166 of file spectrum-value.h.
References ns3::SpectrumModel::GetNumBands(), m_spectrumModel, m_values, and NS_ASSERT_MSG.
|
private |
Shift the values to the left.
n | number of positions to shift |
Definition at line 225 of file spectrum-value.cc.
References m_values.
|
private |
Shift the values to the right.
n | number of positions to shift |
Definition at line 241 of file spectrum-value.cc.
References m_values.
|
private |
Subtracts a SpectrumValue (element by element subtraction)
x | SpectrumValue |
Definition at line 131 of file spectrum-value.cc.
References m_spectrumModel, m_values, NS_ASSERT, and two-ray-to-three-gpp-ch-calibration::x.
Referenced by operator-=().
|
private |
Subtracts a flat value to all the current elements.
s | flat value |
Definition at line 148 of file spectrum-value.cc.
References Add().
const double & ns3::SpectrumValue::ValuesAt | ( | uint32_t | pos | ) | const |
Get the value element at the position.
pos | position |
Definition at line 661 of file spectrum-value.cc.
References m_values.
Values::iterator ns3::SpectrumValue::ValuesBegin | ( | ) |
Definition at line 78 of file spectrum-value.cc.
References m_values.
Referenced by ns3::ThreeGppSpectrumPropagationLossModel::CalcBeamformingGain(), ns3::SpectrumConverter::Convert(), ns3::WifiSpectrumValueHelper::CreateDsssTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateHeMuOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateSpectrumMaskForOfdm(), ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::TraceFadingLossModel::DoCalcRxPowerSpectralDensity(), ns3::ThreeGppSpectrumPropagationLossModel::GenSpectrumChannelMatrix(), and ns3::WifiSpectrumValueHelper::NormalizeSpectrumMask().
Values::iterator ns3::SpectrumValue::ValuesEnd | ( | ) |
Definition at line 84 of file spectrum-value.cc.
References m_values.
Referenced by ns3::ThreeGppSpectrumPropagationLossModel::CalcBeamformingGain(), ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::TraceFadingLossModel::DoCalcRxPowerSpectralDensity(), and ns3::ThreeGppSpectrumPropagationLossModel::GenSpectrumChannelMatrix().
|
friend |
arg | the argument |
Definition at line 361 of file spectrum-value.cc.
|
friend |
arg | the argument |
Definition at line 562 of file spectrum-value.cc.
|
friend |
arg | the argument |
Definition at line 546 of file spectrum-value.cc.
|
friend |
arg | the argument |
Definition at line 554 of file spectrum-value.cc.
|
friend |
x | the operand |
Definition at line 322 of file spectrum-value.cc.
|
friend |
Compare two spectrum values.
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 421 of file spectrum-value.cc.
|
friend |
multiplication component-by-component (Schur product)
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 468 of file spectrum-value.cc.
|
friend |
multiplication by a scalar
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 476 of file spectrum-value.cc.
|
friend |
multiplication of a scalar
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 484 of file spectrum-value.cc.
|
friend |
addition operator
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 407 of file spectrum-value.cc.
|
friend |
addition operator
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 427 of file spectrum-value.cc.
|
friend |
unary plus operator
rhs | Right Hand Side of the operator |
Definition at line 516 of file spectrum-value.cc.
|
friend |
addition operator
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 435 of file spectrum-value.cc.
|
friend |
subtraction operator
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 443 of file spectrum-value.cc.
|
friend |
subtraction operator
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 452 of file spectrum-value.cc.
|
friend |
unary minus operator
rhs | Right Hand Side of the operator |
Definition at line 522 of file spectrum-value.cc.
|
friend |
subtraction operator
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 460 of file spectrum-value.cc.
|
friend |
division component-by-component
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 492 of file spectrum-value.cc.
|
friend |
division by a scalar
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 500 of file spectrum-value.cc.
|
friend |
division of a scalar
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 508 of file spectrum-value.cc.
|
friend |
Compare two spectrum values.
lhs | Left Hand Side of the operator |
rhs | Right Hand Side of the operator |
Definition at line 415 of file spectrum-value.cc.
|
friend |
lhs | the base |
rhs | the exponent |
Definition at line 538 of file spectrum-value.cc.
|
friend |
lhs | the base |
rhs | the exponent |
Definition at line 530 of file spectrum-value.cc.
|
friend |
x | the operand |
Definition at line 348 of file spectrum-value.cc.
|
friend |
x | the operand |
Definition at line 335 of file spectrum-value.cc.
|
private |
The spectrum model.
Definition at line 655 of file spectrum-value.h.
Referenced by Add(), ConstBandsBegin(), ConstBandsEnd(), Copy(), Divide(), GetSpectrumModel(), GetSpectrumModelUid(), Multiply(), SetValues(), and Subtract().
|
private |
Set of values which implement the codomain of the functions in the Function Space defined by SpectrumValue.
There is no restriction on what these values represent (a transmission power density, a propagation loss, etc.).
Definition at line 664 of file spectrum-value.h.
Referenced by Add(), ChangeSign(), ConstValuesBegin(), ConstValuesEnd(), Divide(), Exp(), GetValues(), GetValuesN(), Log(), Log10(), Log2(), Multiply(), operator=(), operator[](), Pow(), SetValues(), ShiftLeft(), ShiftRight(), Subtract(), ValuesAt(), ValuesBegin(), and ValuesEnd().