#include <memory_resource>#include <nk/value/value.hpp>Go to the source code of this file.
Functions | |
| Value | nk::comm::poly2trellis (const Value &constraintLength, const Value &codeGenerator, std::pmr::memory_resource *mr=nullptr) |
| Convolutional-code trellis from polynomial generators (trellis = poly2trellis(ConstraintLength, CodeGenerator)). | |
| Value | nk::comm::convenc (const Value &msg, const Value &trellis, std::pmr::memory_resource *mr=nullptr) |
| Convolutionally encode a bit stream (code = convenc(msg, trellis)). | |
| Value | nk::comm::vitdec (const Value &code, const Value &trellis, long long tblen, const std::string &opmode="trunc", const std::string &dectype="hard", std::pmr::memory_resource *mr=nullptr) |
| Viterbi-decode a convolutional code (msg = vitdec(code, trellis, tblen, opmode, dectype)). | |
| Value | nk::comm::istrellis (const Value &S, std::pmr::memory_resource *mr=nullptr) |
| Validate a trellis structure (tf = istrellis(S)). | |