Trait un_algebra::group::add_group::AddGroup[][src]

pub trait AddGroup: AddMonoid {
    fn negate(&self) -> Self;

    fn sub(&self, other: &Self) -> Self { ... }
fn axiom_left_negate(&self) -> bool { ... }
fn axiom_right_negate(&self) -> bool { ... } }

An algebraic additive group.

Required Methods

The unique additive inverse of a group element.

Provided Methods

The additive "subtraction" of two group elements.

Test the left axiom of negation.

Test the right axiom of negation.

Implementations on Foreign Types

impl AddGroup for i8
[src]

Additive group negation uses "wrapping" negate to avoid overflow and guarantee the closure axiom.

impl AddGroup for i16
[src]

Additive group negation uses "wrapping" negate to avoid overflow and guarantee the closure axiom.

impl AddGroup for i32
[src]

Additive group negation uses "wrapping" negate to avoid overflow and guarantee the closure axiom.

impl AddGroup for i64
[src]

Additive group negation uses "wrapping" negate to avoid overflow and guarantee the closure axiom.

impl AddGroup for i128
[src]

Additive group negation uses "wrapping" negate to avoid overflow and guarantee the closure axiom.

impl AddGroup for isize
[src]

Additive group negation uses "wrapping" negate to avoid overflow and guarantee the closure axiom.

impl AddGroup for BigRational
[src]

Rational numbers form an additive group.

Negation is rational negation.

Implementors