pub struct Minstarapproxi8PartialHardLimitDeg1Clip { /* private fields */ }Expand description
LDPC decoder arithmetic with 8-bit quantization and an approximation to the min* function.
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.
See (36) in [1].
Implementations§
Source§impl Minstarapproxi8PartialHardLimitDeg1Clip
impl Minstarapproxi8PartialHardLimitDeg1Clip
Sourcepub fn new() -> Minstarapproxi8PartialHardLimitDeg1Clip
pub fn new() -> Minstarapproxi8PartialHardLimitDeg1Clip
Creates a new [$ty] decoder arithmetic object.
Trait Implementations§
Source§impl Clone for Minstarapproxi8PartialHardLimitDeg1Clip
impl Clone for Minstarapproxi8PartialHardLimitDeg1Clip
Source§fn clone(&self) -> Minstarapproxi8PartialHardLimitDeg1Clip
fn clone(&self) -> Minstarapproxi8PartialHardLimitDeg1Clip
Returns a duplicate 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 DecoderArithmetic for Minstarapproxi8PartialHardLimitDeg1Clip
impl DecoderArithmetic for Minstarapproxi8PartialHardLimitDeg1Clip
Source§type CheckMessage = i8
type CheckMessage = i8
Check node message. Read more
Source§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)
fn send_check_messages<F>(&mut self, var_messages: &[Message<i8>], send: F)
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,
) -> i8
fn send_var_messages<F>( &mut self, input_llr: i8, check_messages: &[Message<i8>], send: F, ) -> 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 Minstarapproxi8PartialHardLimitDeg1Clip
impl Default for Minstarapproxi8PartialHardLimitDeg1Clip
Source§fn default() -> Minstarapproxi8PartialHardLimitDeg1Clip
fn default() -> Minstarapproxi8PartialHardLimitDeg1Clip
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Minstarapproxi8PartialHardLimitDeg1Clip
impl RefUnwindSafe for Minstarapproxi8PartialHardLimitDeg1Clip
impl Send for Minstarapproxi8PartialHardLimitDeg1Clip
impl Sync for Minstarapproxi8PartialHardLimitDeg1Clip
impl Unpin for Minstarapproxi8PartialHardLimitDeg1Clip
impl UnwindSafe for Minstarapproxi8PartialHardLimitDeg1Clip
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more