Trait ldpc::noise_model::NoiseModel [−][src]
Associated Types
Loading content...Required methods
fn sample_error_of_length<R: Rng>(
&self,
length: usize,
rng: &mut R
) -> Self::Error
[src]
&self,
length: usize,
rng: &mut R
) -> Self::Error
Generates a random error of the given length.
Implementors
impl NoiseModel for BinarySymmetricChannel
[src]
type Error = SparseBinVec
fn sample_error_of_length<R: Rng>(
&self,
block_size: usize,
rng: &mut R
) -> Self::Error
[src]
&self,
block_size: usize,
rng: &mut R
) -> Self::Error