sigma_types

Type Alias NonNegative

Source
pub type NonNegative<Input> = Sigma<Input, NonNegativeInvariant<Input>>;
Expand description

Non-negative terms (defined by comparison to zero).

Aliased Type§

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

Trait Implementations§

Source§

impl<T: One + PartialOrd + Zero + Debug> One for NonNegative<T>

Source§

const ONE: Self

Additive identity (i.e., one).
Source§

impl<Z: PartialOrd + Zero + Debug> Zero for NonNegative<Z>

Source§

const ZERO: Self

Additive identity (i.e., zero).