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

Method _encode

src/Module/Encoder/User/Encoder_user.cpp:165–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163
164template<typename B>
165void
166Encoder_user<B>::_encode(const B* /*U_K*/, B* X_N, const size_t /*frame_id*/)
167{
168 std::copy(this->codewords[this->cw_counter].begin(), this->codewords[this->cw_counter].end(), X_N);
169
170 this->cw_counter = (this->cw_counter + 1) % (int)this->codewords.size();
171}
172
173template<typename B>
174bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected