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::BPSKMapper Class Reference

Binary Phase Shift Keying mapper — NRZMapper with a = 0, b = 2. More...

#include <blocks.hpp>

Inheritance diagram for CECCO::BPSKMapper:
Inheritance graph

Public Member Functions

constexpr BPSKMapper () noexcept
 Construct BPSK mapper (a = 0, b = 2).
Public Member Functions inherited from CECCO::NRZMapper
constexpr NRZMapper (double a, double b) noexcept
 Construct with constellation parameters.
constexpr std::complex< double > operator() (const Fp< 2 > &in) noexcept
 Map a bit to its constellation point.
constexpr double get_Eb () const noexcept
 Energy per bit Eb = a² + b²/4.
constexpr double get_a () const noexcept
 DC offset parameter a.
constexpr double get_b () const noexcept
 Constellation distance parameter b.
Public Member Functions inherited from CECCO::details::BlockProcessor< T, Fp< 2 >, std::complex< double > >
Vector< std::complex< double > > operator() (const Vector< Fp< 2 > > &in)
 Apply the block element-wise to each vector entry.
Vector< std::complex< double > > operator() (Vector< Fp< 2 > > &&in)
 Apply the block element-wise (rvalue input).
Matrix< std::complex< double > > operator() (const Matrix< Fp< 2 > > &in)
 Apply the block element-wise to each matrix entry.
Matrix< std::complex< double > > operator() (Matrix< Fp< 2 > > &&in)
 Apply the block element-wise (rvalue input).
std::complex< double > operator() (const U &)
 Catch-all for inputs whose element type differs from InputType.
Vector< std::complex< double > > operator() (const Vector< U > &)
Matrix< std::complex< double > > operator() (const Matrix< U > &)

Additional Inherited Members

Protected Member Functions inherited from CECCO::details::BlockProcessor< T, Fp< 2 >, std::complex< double > >
const T & derived () const noexcept
T & derived () noexcept

Detailed Description

Binary Phase Shift Keying mapper — NRZMapper with a = 0, b = 2.

Antipodal constellation {−1, +1}, Eb = 1.

See also
CECCO::NRZMapper, CECCO::BPSKDemapper

Definition at line 513 of file blocks.hpp.

Constructor & Destructor Documentation

◆ BPSKMapper()

CECCO::BPSKMapper::BPSKMapper ( )
inlineconstexprnoexcept

Construct BPSK mapper (a = 0, b = 2).

Definition at line 516 of file blocks.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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