[][src]Trait gf::Field

pub trait Field: 'static + Sized + Eq + PartialEq + Copy + Clone + Send + Sync + Debug + Display + Add<Output = Self> + AddAssign + Sub<Output = Self> + SubAssign + Div<Output = Self> + DivAssign + Mul<Output = Self> + MulAssign + Neg<Output = Self> + Product + Sum {
    const ZERO: Self;
    const ONE: Self;

    fn inverse(&self) -> Self;
fn pow(self, exp: usize) -> Self;
fn idx(&self) -> usize; fn zero() -> Self { ... }
fn is_zero(&self) -> bool { ... }
fn one() -> Self { ... }
fn square(&mut self) { ... } }

Functions of A Field

Associated Constants

const ZERO: Self

const ONE: Self

Loading content...

Required methods

fn inverse(&self) -> Self

fn pow(self, exp: usize) -> Self

fn idx(&self) -> usize

Loading content...

Provided methods

fn zero() -> Self

fn is_zero(&self) -> bool

fn one() -> Self

fn square(&mut self)

Loading content...

Implementors

impl Field for GF<u8>[src]

Loading content...