nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
generic_qam.hpp
Go to the documentation of this file.
1
3// toolboxes/comm/include/nk/comm/modulation/generic_qam.hpp
4//
5// Generic constellation modulation/demodulation.
6
7#pragma once
8
9#include <memory_resource>
10#include <nk/value/value.hpp>
11
12namespace nk::comm {
13
16
17
32Value genqammod(const Value &x, const Value &constellation,
33 std::pmr::memory_resource *mr = nullptr);
34
46Value genqamdemod(const Value &y, const Value &constellation,
47 std::pmr::memory_resource *mr = nullptr);
48
49
51} // namespace nk::comm
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
Value genqammod(const Value &x, const Value &constellation, std::pmr::memory_resource *mr=nullptr)
Generic constellation modulator (y = genqammod(x, constellation)).
Value genqamdemod(const Value &y, const Value &constellation, std::pmr::memory_resource *mr=nullptr)
Generic constellation demodulator (x = genqamdemod(y, constellation)).