Trait matrix::Element [] [src]

pub trait Element: Copy + PartialEq {
    fn is_zero(&self) -> bool;
    fn zero() -> Self;
}

An element.

Required Methods

fn is_zero(&self) -> bool

Check if the element is zero.

fn zero() -> Self

Return the zero element.

Implementors