|
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>
|
Symmetric Discrete Memoryless Channel — errors only, no erasures. More...
#include <blocks.hpp>

Public Member Functions | |
| SDMC (double pe) | |
| Construct with symbol error probability pe. | |
| Public Member Functions inherited from CECCO::SDMEC< T > | |
| 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 |
Symmetric Discrete Memoryless Channel — errors only, no erasures.
| T | Finite field type for channel input/output symbols |
Convenience wrapper for SDMEC<T>(pe, 0.0) with a single-parameter constructor.
Definition at line 354 of file blocks.hpp.
|
inline |
Construct with symbol error probability pe.
| pe | Symbol error probability ∈ [0, 1] |
Definition at line 360 of file blocks.hpp.