sigma_types

Type Alias Negative

Source
pub type Negative<Input> = Sigma<Input, NegativeInvariant<Input>>;
Expand description

Negative terms (defined by comparison to zero).

Aliased Type§

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

Trait Implementations§

Source§

impl<L: PartialOrd + Zero + Debug + Div<R, Output: PartialOrd + Zero + Debug>, R: PartialOrd + Zero + Debug> Div<Sigma<R, NegativeInvariant<R>>> for Negative<L>

Source§

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

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<L: PartialOrd + Zero + Debug + Div<R, Output: PartialOrd + Zero + Debug>, R: PartialOrd + Zero + Debug> Div<Sigma<R, PositiveInvariant<R>>> for Negative<L>

Source§

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

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Positive<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, NegativeInvariant<R>>> for Negative<L>

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Negative<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, PositiveInvariant<R>>> for Negative<L>

Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<Raw: PartialOrd + Zero + Debug + Neg> Neg for Negative<Raw>
where Raw::Output: PartialOrd + Zero + Debug,

Source§

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

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more