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

Method _modulate

src/Module/Modem/OOK/Modem_OOK.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29template<typename B, typename R, typename Q>
30void
31Modem_OOK<B, R, Q>::_modulate(const B* X_N1, R* X_N2, const size_t /*frame_id*/)
32{
33 for (auto i = 0; i < this->N_fil; i++)
34 X_N2[i] = X_N1[i] ? (R)1 : (R)0;
35}
36
37namespace aff3ct
38{

Callers

nothing calls this directly

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected