sigma_types

Type Alias NonZero

Source
pub type NonZero<Input> = Sigma<Input, NonZeroInvariant<Input>>;
Expand description

Nonzero terms (defined by comparison to zero).

Aliased Type§

struct NonZero<Input> { /* private fields */ }

Trait Implementations§

Source§

impl<L: PartialOrd + Zero + Debug + Div<R, Output: PartialOrd + Zero + Debug>, R: PartialOrd + Zero + Debug> Div<Sigma<R, NonZeroInvariant<R>>> for NonZero<L>

Source§

type Output = Sigma<<L as Div<R>>::Output, NonZeroInvariant<<L as Div<R>>::Output>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NonZero<R>) -> Self::Output

Performs the / operation. Read more
Source§

impl<L: PartialOrd + Zero + Debug + Mul<R, Output: PartialOrd + Zero + Debug>, R: PartialOrd + Zero + Debug> Mul<Sigma<R, NonZeroInvariant<R>>> for NonZero<L>

Source§

type Output = Sigma<<L as Mul<R>>::Output, NonZeroInvariant<<L as Mul<R>>::Output>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NonZero<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<Raw: PartialOrd + Zero + Debug + Neg<Output: PartialOrd + Zero + Debug>> Neg for NonZero<Raw>

Source§

type Output = Sigma<<Raw as Neg>::Output, NonZeroInvariant<<Raw as Neg>::Output>>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more