pub enum RealExactSetSignPattern {
Empty,
AllZero,
AllPositive,
AllNegative,
MixedKnown,
Unknown,
}Expand description
Conservative sign pattern for a borrowed set of Real values.
This is a scheduling hint, not a predicate result. It lets vector, matrix, and predicate code select sparse or same-sign arithmetic packages when the signs are already structurally certified, while unknown values remain explicit. The boundary follows Yap’s EGC model: preserve cheap object facts and defer topological decisions to exact predicates.
Variants§
Empty
The borrowed set was empty.
AllZero
Every value is structurally known to be exactly zero.
AllPositive
Every value is structurally known to be strictly positive.
AllNegative
Every value is structurally known to be strictly negative.
MixedKnown
All signs are known and the set contains more than one sign class.
Unknown
At least one value has unknown sign or zero status.
Trait Implementations§
Source§impl Clone for RealExactSetSignPattern
impl Clone for RealExactSetSignPattern
Source§fn clone(&self) -> RealExactSetSignPattern
fn clone(&self) -> RealExactSetSignPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RealExactSetSignPattern
impl Debug for RealExactSetSignPattern
Source§impl PartialEq for RealExactSetSignPattern
impl PartialEq for RealExactSetSignPattern
Source§fn eq(&self, other: &RealExactSetSignPattern) -> bool
fn eq(&self, other: &RealExactSetSignPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RealExactSetSignPattern
impl Eq for RealExactSetSignPattern
impl StructuralPartialEq for RealExactSetSignPattern
Auto Trait Implementations§
impl Freeze for RealExactSetSignPattern
impl RefUnwindSafe for RealExactSetSignPattern
impl Send for RealExactSetSignPattern
impl Sync for RealExactSetSignPattern
impl Unpin for RealExactSetSignPattern
impl UnsafeUnpin for RealExactSetSignPattern
impl UnwindSafe for RealExactSetSignPattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more