9#include <memory_resource>
10#include <nk/value/value.hpp>
35 const std::string &symbol_order,
36 std::pmr::memory_resource *mr =
nullptr);
49 const std::string &symbol_order,
50 std::pmr::memory_resource *mr =
nullptr);
69 std::pmr::memory_resource *mr =
nullptr);
84 std::pmr::memory_resource *mr =
nullptr);
101 std::pmr::memory_resource *mr =
nullptr);
Core MATLAB-compatible multidimensional array and scalar value type.
Value modnorm(const Value &ref, const std::string &type, double target, std::pmr::memory_resource *mr=nullptr)
Constellation normalisation factor (factor = modnorm(ref, type, target)).
Value 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 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 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 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)).