[][src]Trait un_algebra::group::mul_group::MulGroup

pub trait MulGroup: MulMonoid {
    fn invert(&self) -> Self;
fn is_invertible(&self) -> bool; fn div(&self, other: &Self) -> Self { ... } }

An algebraic multiplicative group.

Required methods

fn invert(&self) -> Self

The unique multiplicative inverse of a group element. Inversion is only defined for invertible group elements.

fn is_invertible(&self) -> bool

Test for an invertible group element.

Loading content...

Provided methods

fn div(&self, other: &Self) -> Self

The multiplicative "division" of two group elements.

Loading content...

Implementations on Foreign Types

impl MulGroup for f32[src]

fn invert(&self) -> Self[src]

Inversion is just floating point inversion.

fn is_invertible(&self) -> bool[src]

Non-zero elements are invertible.

fn div(&self, other: &Self) -> Self[src]

impl MulGroup for f64[src]

fn invert(&self) -> Self[src]

Inversion is just floating point inversion.

fn is_invertible(&self) -> bool[src]

Non-zero elements are invertible.

fn div(&self, other: &Self) -> Self[src]

impl MulGroup for ()[src]

0-tuples form a multiplicative group.

fn invert(&self) -> Self[src]

Inverted value can only be ().

fn is_invertible(&self) -> bool[src]

The only value is invertible.

fn div(&self, other: &Self) -> Self[src]

impl<A: MulGroup> MulGroup for (A,)[src]

1-tuples form a multiplicative group when their items do.

fn invert(&self) -> Self[src]

Inversion is by matching element.

fn is_invertible(&self) -> bool[src]

Invertibility is across the tuple.

fn div(&self, other: &Self) -> Self[src]

impl<A: MulGroup, B: MulGroup> MulGroup for (A, B)[src]

2-tuples form a multiplicative group when their items do.

fn invert(&self) -> Self[src]

Inversion is by matching element.

fn is_invertible(&self) -> bool[src]

Invertibility is across the tuple.

fn div(&self, other: &Self) -> Self[src]

impl<A: MulGroup, B: MulGroup, C: MulGroup> MulGroup for (A, B, C)[src]

3-tuples form a multiplicative group when their items do.

fn invert(&self) -> Self[src]

Inversion is by matching element.

fn is_invertible(&self) -> bool[src]

Invertibility is across the tuple.

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 0][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 1][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 2][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 3][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 4][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 5][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 6][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 7][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 8][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 9][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 10][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 11][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 12][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 13][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 14][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 15][src]

fn div(&self, other: &Self) -> Self[src]

impl<T: Copy + MulGroup> MulGroup for [T; 16][src]

fn div(&self, other: &Self) -> Self[src]

Loading content...

Implementors

Loading content...