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

Go to the source code of this file.

Functions

Value nk::comm::scrambler (const Value &x, const Value &poly, const Value &initState, std::pmr::memory_resource *mr=nullptr)
 Multiplicative bit scrambler (y = scrambler(x, poly, initState)).
Value nk::comm::descrambler (const Value &y, const Value &poly, const Value &initState, std::pmr::memory_resource *mr=nullptr)
 Multiplicative bit descrambler — algebraic inverse of scrambler (x = descrambler(y, poly, initState)).