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>
Loading...
Searching...
No Matches
CECCO::BEC Class Reference

Binary Erasure Channel — symbols are received correctly or marked erased. More...

#include <blocks.hpp>

Inheritance diagram for CECCO::BEC:
Inheritance graph

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.
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

Detailed Description

Binary Erasure Channel — symbols are received correctly or marked erased.

Convenience wrapper for SDMEC<Fp<2>>(0.0, px). Requires CECCO_ERASURE_SUPPORT.

See also
CECCO::SDMEC, CECCO::BSC

Definition at line 379 of file blocks.hpp.

Constructor & Destructor Documentation

◆ BEC()

CECCO::BEC::BEC ( double px)
inline

Construct with symbol erasure probability px.

Parameters
pxSymbol erasure probability ∈ [0, 1]

Definition at line 385 of file blocks.hpp.


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