Trait alga::general::TwoSidedInverse

source ·
pub trait TwoSidedInverse<O: Operator>: Sized {
    // Required method
    fn two_sided_inverse(&self) -> Self;

    // Provided method
    fn two_sided_inverse_mut(&mut self) { ... }
}
Expand description

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

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

Required Methods§

source

fn two_sided_inverse(&self) -> Self

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

The parameter O is generally either Additive or Multiplicative.

Provided Methods§

source

fn two_sided_inverse_mut(&mut self)

In-place inversion of self, relative to the operator O.

The parameter O is generally either Additive or Multiplicative.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TwoSidedInverse<Additive> for f32

source§

fn two_sided_inverse(&self) -> Self

source§

impl TwoSidedInverse<Additive> for f64

source§

fn two_sided_inverse(&self) -> Self

source§

impl TwoSidedInverse<Additive> for i8

source§

fn two_sided_inverse(&self) -> Self

source§

impl TwoSidedInverse<Additive> for i16

source§

fn two_sided_inverse(&self) -> Self

source§

impl TwoSidedInverse<Additive> for i32

source§

fn two_sided_inverse(&self) -> Self

source§

impl TwoSidedInverse<Additive> for i64

source§

fn two_sided_inverse(&self) -> Self

source§

impl TwoSidedInverse<Additive> for i128

source§

fn two_sided_inverse(&self) -> Self

source§

impl TwoSidedInverse<Additive> for isize

source§

fn two_sided_inverse(&self) -> Self

source§

impl TwoSidedInverse<Multiplicative> for f32

source§

impl TwoSidedInverse<Multiplicative> for f64

source§

impl<N: Num + Clone + ClosedNeg> TwoSidedInverse<Multiplicative> for Complex<N>

source§

fn two_sided_inverse(&self) -> Self

source§

impl<N: TwoSidedInverse<Additive>> TwoSidedInverse<Additive> for Complex<N>

Implementors§