|
C(++)ECCO
C++ Error Control COding: a header-only library for ECC simulations and experiments, modeling complete coding systems across arbitrary finite fields and complex inter-field relationships - Christian Senger <senger@inue.uni-stuttgart.de>
|
Non-Return-to-Zero (NRZ) hard-decision demapper. More...
#include <blocks.hpp>

Public Member Functions | |
| constexpr | NRZDemapper (const NRZMapper &nrz) noexcept |
| Construct from the corresponding mapper. | |
| NRZDemapper (const BI_AWGN &bi_awgn) noexcept | |
| Construct from a BI-AWGN channel (convenience). | |
| constexpr Fp< 2 > | operator() (const std::complex< double > &in) noexcept |
| Hard-decide a received symbol. | |
| Public Member Functions inherited from CECCO::details::BlockProcessor< T, std::complex< double >, Fp< 2 > > | |
| Vector< Fp< 2 > > | operator() (const Vector< std::complex< double > > &in) |
| Apply the block element-wise to each vector entry. | |
| Vector< Fp< 2 > > | operator() (Vector< std::complex< double > > &&in) |
| Apply the block element-wise (rvalue input). | |
| Matrix< Fp< 2 > > | operator() (const Matrix< std::complex< double > > &in) |
| Apply the block element-wise to each matrix entry. | |
| Matrix< Fp< 2 > > | operator() (Matrix< std::complex< double > > &&in) |
| Apply the block element-wise (rvalue input). | |
| Fp< 2 > | operator() (const U &) |
| Catch-all for inputs whose element type differs from InputType. | |
| Vector< Fp< 2 > > | operator() (const Vector< U > &) |
| Matrix< Fp< 2 > > | operator() (const Matrix< U > &) |
Additional Inherited Members | |
| Protected Member Functions inherited from CECCO::details::BlockProcessor< T, std::complex< double >, Fp< 2 > > | |
| const T & | derived () const noexcept |
| T & | derived () noexcept |
Non-Return-to-Zero (NRZ) hard-decision demapper.
Maximum-likelihood threshold detector for NRZ-modulated symbols received over AWGN: outputs 1 if Re(r) ≥ a, otherwise 0, where a is the DC offset of the corresponding CECCO::NRZMapper. The imaginary part is ignored.
Definition at line 745 of file blocks.hpp.
|
inlineconstexprnoexcept |
Construct from the corresponding mapper.
| nrz | Source mapper whose DC offset becomes the decision threshold |
Definition at line 754 of file blocks.hpp.


|
inlinenoexcept |
Construct from a BI-AWGN channel (convenience).
| bi_awgn | Channel whose internal mapper provides the decision threshold |
Definition at line 760 of file blocks.hpp.

|
inlineconstexprnoexcept |
Hard-decide a received symbol.
| in | Received complex value (imaginary part ignored) |
Definition at line 767 of file blocks.hpp.