Trait DivisionRing

Source
pub trait DivisionRing<T> {
    // Required methods
    fn add(&self, other: T) -> T;
    fn times(&self, other: T) -> T;
    fn inverse(&self) -> T;
}
Expand description

Algebraic division ring defining two binary operations and the inverse of an element

Required Methods§

Source

fn add(&self, other: T) -> T

Source

fn times(&self, other: T) -> T

Source

fn inverse(&self) -> T

Implementors§