Module aether_primitives::sequence
source · Expand description
Pseudo-Random Sequence Generation
Functions
Unpack an unsigned integer into a binary sequence of {0,1} u8
This function is meant to provide seed/initialisation values for M-sequence generators.
Example
Generate a M-Sequence based on initial values and a number of taps
Such sequences are common building blocks for scrambling, synchronisation or modulation
(Direct-Sequence Spread-Spectrum) systems.
seed
:
generator
: a function that generates elements,
may rely on values currently within the sequence,
len
: length of the
Example