nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
qam.hpp File Reference
#include <memory_resource>
#include <nk/value/value.hpp>
#include <string>

Go to the source code of this file.

Functions

Value nk::comm::pammod (const Value &x, int M, double ini_phase, const std::string &symbol_order, std::pmr::memory_resource *mr=nullptr)
 M-ary PAM modulator (y = pammod(x, M, ini_phase, symbol_order)).
Value nk::comm::pamdemod (const Value &y, int M, double ini_phase, const std::string &symbol_order, std::pmr::memory_resource *mr=nullptr)
 M-ary PAM demodulator — nearest-amplitude decision (x = pamdemod(y, M, ini_phase, symbol_order)).
Value nk::comm::qammod (const Value &x, int M, const std::string &symbol_order, bool unit_power, std::pmr::memory_resource *mr=nullptr)
 Rectangular M-ary QAM modulator (y = qammod(x, M, symbol_order, unit_power)).
Value nk::comm::qamdemod (const Value &y, int M, const std::string &symbol_order, bool unit_power, std::pmr::memory_resource *mr=nullptr)
 Rectangular M-ary QAM demodulator (x = qamdemod(y, M, symbol_order, unit_power)).
Value nk::comm::modnorm (const Value &ref, const std::string &type, double target, std::pmr::memory_resource *mr=nullptr)
 Constellation normalisation factor (factor = modnorm(ref, type, target)).