Trait ldpc::noise::NoiseModel
source · [−]pub trait NoiseModel {
type Error;
fn sample_error_of_length<R: Rng>(
&self,
length: usize,
rng: &mut R
) -> Self::Error;
}
pub trait NoiseModel {
type Error;
fn sample_error_of_length<R: Rng>(
&self,
length: usize,
rng: &mut R
) -> Self::Error;
}