sigma_types

Type Alias OnUnit

Source
pub type OnUnit<Input, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> = Sigma<Input, OnUnitInvariant<Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>>;
Expand description

Terms on the unit interval (between 0 and 1), either inclusive or exclusive at each extreme.

Aliased Type§

struct OnUnit<Input, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> { /* private fields */ }

Trait Implementations§

Source§

impl<T: One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool> One for OnUnit<T, INCLUSIVE_AT_ZERO, true>

Source§

const ONE: Self

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

impl<Z: One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ONE: bool> Zero for OnUnit<Z, true, INCLUSIVE_AT_ONE>

Source§

const ZERO: Self

Additive identity (i.e., zero).