5G-LENA nr-v3.3-49-g235218b1
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrSinrMatrix Class Reference

NrSinrMatrix stores the MIMO SINR matrix, with dimension rank x nRbs. More...

#include "nr-mimo-matrices.h"

+ Inheritance diagram for ns3::NrSinrMatrix:
+ Collaboration diagram for ns3::NrSinrMatrix:

Public Member Functions

 NrSinrMatrix (const std::valarray< double > &values)
 
 NrSinrMatrix (DoubleMatrixArray arr)
 
 NrSinrMatrix (uint8_t rank, size_t nRbs)
 
size_t GetNumRbs () const
 
uint8_t GetRank () const
 
SpectrumValue GetVectorizedSpecVal () const
 Linearize a 2D matrix into a vector, and convert that vector to a SpectrumValue Matches layer-to-codeword mapping in TR 38.211, Table 7.3.1.3-1.
 

Detailed Description

NrSinrMatrix stores the MIMO SINR matrix, with dimension rank x nRbs.

Definition at line 89 of file nr-mimo-matrices.h.

Constructor & Destructor Documentation

◆ NrSinrMatrix() [1/3]

ns3::NrSinrMatrix::NrSinrMatrix ( DoubleMatrixArray  arr)
inline

Definition at line 93 of file nr-mimo-matrices.h.

◆ NrSinrMatrix() [2/3]

ns3::NrSinrMatrix::NrSinrMatrix ( const std::valarray< double > &  values)
inline

Definition at line 95 of file nr-mimo-matrices.h.

◆ NrSinrMatrix() [3/3]

ns3::NrSinrMatrix::NrSinrMatrix ( uint8_t  rank,
size_t  nRbs 
)
inline

Definition at line 97 of file nr-mimo-matrices.h.

Member Function Documentation

◆ GetNumRbs()

size_t ns3::NrSinrMatrix::GetNumRbs ( ) const

Definition at line 91 of file nr-mimo-matrices.cc.

◆ GetRank()

uint8_t ns3::NrSinrMatrix::GetRank ( ) const

Definition at line 85 of file nr-mimo-matrices.cc.

◆ GetVectorizedSpecVal()

SpectrumValue ns3::NrSinrMatrix::GetVectorizedSpecVal ( ) const

Linearize a 2D matrix into a vector, and convert that vector to a SpectrumValue Matches layer-to-codeword mapping in TR 38.211, Table 7.3.1.3-1.

Returns
A SpectrumValue with the (nRB * nMimoLayers) SINR values

Definition at line 97 of file nr-mimo-matrices.cc.

Referenced by ns3::NrUePhy::TriggerDlCqiGeneration().

+ Here is the caller graph for this function:

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