Trait alga::general::Inverse [] [src]

pub trait Inverse<O: Operator>: Sized {
    fn inverse(&self) -> Self;

    fn inverse_mut(&mut self) { ... }
}

Trait used to define the inverse element relative to the given operator.

The operator, e.g., Multiplicative or Additive, is identified by the type parameter O.

Required Methods

Returns the inverse of self, relative to the operator O.

Provided Methods

In-place inversin of self.

Implementors