pub struct Aminstari8PartialHardLimit { /* private fields */ }
Expand description
LDPC decoder arithmetic with 8-bit quantization and the A-Min*-BP described in [3].
This is a DecoderArithmetic
that uses i8
to represent the LLRs
and messages and computes the check node messages using an approximation
to the min* rule.
Implementations§
source§impl Aminstari8PartialHardLimit
impl Aminstari8PartialHardLimit
sourcepub fn new() -> Aminstari8PartialHardLimit
pub fn new() -> Aminstari8PartialHardLimit
Creates a new [$ty
] decoder arithmetic object.
Trait Implementations§
source§impl Clone for Aminstari8PartialHardLimit
impl Clone for Aminstari8PartialHardLimit
source§fn clone(&self) -> Aminstari8PartialHardLimit
fn clone(&self) -> Aminstari8PartialHardLimit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Aminstari8PartialHardLimit
impl Debug for Aminstari8PartialHardLimit
source§impl DecoderArithmetic for Aminstari8PartialHardLimit
impl DecoderArithmetic for Aminstari8PartialHardLimit
§type CheckMessage = i8
type CheckMessage = i8
Check node message. Read more
§type VarMessage = i8
type VarMessage = i8
Variable node message. Read more
source§fn send_check_messages<F>(&mut self, var_messages: &[Message<i8>], send: F)where
F: FnMut(SentMessage<i8>),
fn send_check_messages<F>(&mut self, var_messages: &[Message<i8>], send: F)where F: FnMut(SentMessage<i8>),
Send check messages from a check node. Read more
source§fn send_var_messages<F>(
&mut self,
input_llr: i8,
check_messages: &[Message<i8>],
send: F
) -> i8where
F: FnMut(SentMessage<i8>),
fn send_var_messages<F>( &mut self, input_llr: i8, check_messages: &[Message<i8>], send: F ) -> i8where F: FnMut(SentMessage<i8>),
Send variable messages from a variable node. Read more
source§fn update_check_messages_and_vars(
&mut self,
check_messages: &mut [SentMessage<i8>],
vars: &mut [i16]
)
fn update_check_messages_and_vars( &mut self, check_messages: &mut [SentMessage<i8>], vars: &mut [i16] )
Update check messages and variable values for a check node. Read more
source§impl Default for Aminstari8PartialHardLimit
impl Default for Aminstari8PartialHardLimit
source§fn default() -> Aminstari8PartialHardLimit
fn default() -> Aminstari8PartialHardLimit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Aminstari8PartialHardLimit
impl Send for Aminstari8PartialHardLimit
impl Sync for Aminstari8PartialHardLimit
impl Unpin for Aminstari8PartialHardLimit
impl UnwindSafe for Aminstari8PartialHardLimit
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