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