Trait labrador_ldpc::decoder::DecodeFrom [] [src]

pub trait DecodeFrom: Sized + Clone + Copy + PartialEq + PartialOrd + Add + AddAssign + Neg<Output = Self> + Sub<Output = Self> {
    fn one() -> Self;
    fn zero() -> Self;
    fn maxval() -> Self;
    fn abs(&self) -> Self;
    fn saturating_add(&self, other: Self) -> Self;
}

Trait for types that the min-sum decoder can operate with.

Implemented for i8, i16, i32, f32, and f64.

Required Methods

1 in T

0 in T

Maximum value T can represent

Absolute value of self

Saturating add

Implementors