pub trait Modulator: Default + Clone + Send {
    type T;

    // Required method
    fn modulate<S>(&self, codeword: &ArrayBase<S, Ix1>) -> Vec<Self::T>
       where S: Data<Elem = GF2>;
}
Expand description

Modulator.

This trait defines modulators, which can convert a sequence of bits into symbols.

Required Associated Types§

source

type T

Scalar type for the symbols.

Required Methods§

source

fn modulate<S>(&self, codeword: &ArrayBase<S, Ix1>) -> Vec<Self::T>where S: Data<Elem = GF2>,

Modulates a sequence of bits into symbols.

Implementors§