Struct ldpc_toolbox::peg::Config
source · pub struct Config {
pub nrows: usize,
pub ncols: usize,
pub wc: usize,
}Expand description
Configuration for the Progressive Edge Growth construction
This configuration is used to set the parameters of the LDPC code to construct.
Fields§
§nrows: usizeNumber of rows of the parity check matrix.
ncols: usizeNumber of columns of the parity check matrix.
wc: usizeColumn weight of the parity check matrix.
Implementations§
Trait Implementations§
source§impl PartialEq<Config> for Config
impl PartialEq<Config> for Config
impl Eq for Config
impl StructuralEq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more