[−][src]Struct flag_algebra::Ineq
A set of bounds on elements of a flag algebra.
This correpond to a set of inequalities constructed in a similar way.
Fields
meta: IneqMeta<F>Common information about the set of inequalities.
data: Vec<IneqData<N>>List of data of the inequalities in the set.
Methods
impl<N, F> Ineq<N, F> where
N: Num + Neg<Output = N> + Clone,
F: Flag + Clone, [src]
impl<N, F> Ineq<N, F> where
N: Num + Neg<Output = N> + Clone,
F: Flag + Clone, pub fn opposite(self) -> Self | [src] |
If self is "f ≥ x", returns "f ≤ x".
pub fn equality(self) -> Self | [src] |
If self is "f ≥ x", returns "f = x".
impl<N, F> Ineq<N, F> where
N: Num + Copy + Default + AddAssign + NumCast + ScalarOperand,
F: Flag + Clone, [src]
impl<N, F> Ineq<N, F> where
N: Num + Copy + Default + AddAssign + NumCast + ScalarOperand,
F: Flag + Clone, impl<N, F> Ineq<N, F> where
N: Num + Copy + Default + AddAssign + SubAssign + ScalarOperand + NumCast,
F: Flag + Clone, [src]
impl<N, F> Ineq<N, F> where
N: Num + Copy + Default + AddAssign + SubAssign + ScalarOperand + NumCast,
F: Flag + Clone, pub fn multiply_by_qflag(&self, g: &QFlag<N, F>) -> Self | [src] |
If self is "f ≥ x", return the inequality "f*g ≥ x.g".
pub fn multiply_by_all(self, outbasis: Basis<F>) -> Self | [src] |
If self is "f ≥ x", return the set of inequalities "f*g ≥ x.g",
where g is chosen such that f*g is a vector of outbasis.
pub fn multiply_and_unlabel(self, outbasis: Basis<F>) -> Self | [src] |
If self is "f ≥ x", return the set of inequalities "〚f*g〛 ≥ x.〚g〛",
where g is chosen such that 〚f*g〛 is a vector of outbasis.
Trait Implementations
impl<N: Clone, F: Clone> Clone for Ineq<N, F>[src]
impl<N: Clone, F: Clone> Clone for Ineq<N, F>fn clone(&self) -> Ineq<N, F> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source. Read more
impl<N: Debug, F: Debug> Debug for Ineq<N, F>[src]
impl<N: Debug, F: Debug> Debug for Ineq<N, F>Auto Trait Implementations
impl<N, F> Send for Ineq<N, F> where
F: Send,
N: Send,
impl<N, F> Send for Ineq<N, F> where
F: Send,
N: Send, impl<N, F> Sync for Ineq<N, F> where
F: Sync,
N: Sync,
impl<N, F> Sync for Ineq<N, F> where
F: Sync,
N: Sync, Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId | [src] |
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>, fn to_subset(&self) -> Option<SS> |
fn is_in_subset(&self) -> bool |
unsafe fn to_subset_unchecked(&self) -> SS |
fn from_subset(element: &SS) -> SP |