MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / _encode

Method _encode

src/Module/Encoder/BCH/Encoder_BCH.cpp:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59template<typename B>
60void
61Encoder_BCH<B>::_encode(const B* U_K, B* X_N, const size_t /*frame_id*/)
62{
63 // generate the parity bits
64 this->__encode(U_K, X_N);
65
66 // copy the sys bits at the end of the codeword
67 std::copy(U_K, U_K + this->K, X_N + n_rdncy);
68}
69
70template<typename B>
71bool

Callers

nothing calls this directly

Calls 1

__encodeMethod · 0.95

Tested by

no test coverage detected