|
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>
|
Binary Erasure Channel — symbols are received correctly or marked erased. More...
#include <blocks.hpp>

Public Member Functions | |
| BEC (double px) | |
| Construct with symbol erasure probability px. | |
| Public Member Functions inherited from CECCO::SDMEC< Fp< 2 > > | |
| SDMEC (double pe, double px=0.0) | |
| Construct with error probability pe and erasure probability px. | |
| T | operator() (const T &in) |
| Process one symbol. | |
| double | get_pe () const noexcept |
| Observed symbol error probability pe. | |
| double | get_px () const noexcept |
| Observed symbol erasure probability px. | |
| double | get_capacity () const noexcept |
| Shannon capacity in bits per symbol. | |
| long double | get_Bhattacharyya_param () const |
| Bhattacharyya parameter γ = 2·√(pe·(1 − pe)). | |
| Public Member Functions inherited from CECCO::details::BlockProcessor< T, ElementType, ElementType > | |
| Vector< ElementType > | operator() (const Vector< ElementType > &in) |
| Apply the block element-wise to each vector entry. | |
| Vector< ElementType > | operator() (Vector< ElementType > &&in) |
| Apply the block element-wise (rvalue input). | |
| Matrix< ElementType > | operator() (const Matrix< ElementType > &in) |
| Apply the block element-wise to each matrix entry. | |
| Matrix< ElementType > | operator() (Matrix< ElementType > &&in) |
| Apply the block element-wise (rvalue input). | |
| ElementType | operator() (const U &) |
| Catch-all for inputs whose element type differs from InputType. | |
| Vector< ElementType > | operator() (const Vector< U > &) |
| Matrix< ElementType > | operator() (const Matrix< U > &) |
Additional Inherited Members | |
| Protected Member Functions inherited from CECCO::details::BlockProcessor< T, ElementType, ElementType > | |
| const T & | derived () const noexcept |
| T & | derived () noexcept |
Binary Erasure Channel — symbols are received correctly or marked erased.
Convenience wrapper for SDMEC<Fp<2>>(0.0, px). Requires CECCO_ERASURE_SUPPORT.
Definition at line 379 of file blocks.hpp.
|
inline |
Construct with symbol erasure probability px.
| px | Symbol erasure probability ∈ [0, 1] |
Definition at line 385 of file blocks.hpp.