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

Method _encode

src/Module/Encoder/Coset/Encoder_coset.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30template<typename B>
31void
32Encoder_coset<B>::_encode(const B* U_K, B* X_N, const size_t /*frame_id*/)
33{
34 std::copy(U_K, U_K + this->K, X_N);
35
36 for (auto i = this->K; i < this->N; i++)
37 X_N[i] = (B)this->uniform_dist(this->rd_engine);
38}
39
40template<typename B>
41const std::vector<uint32_t>&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected