pub struct Monomial {
pub powers: Vec<(usize, usize)>,
}Expand description
A monomial: product of variables with powers Represented as sorted list of (variable_index, power)
Fields§
§powers: Vec<(usize, usize)>(variable_index, power) pairs, sorted by variable index
Implementations§
Trait Implementations§
impl Eq for Monomial
impl StructuralPartialEq for Monomial
Auto Trait Implementations§
impl Freeze for Monomial
impl RefUnwindSafe for Monomial
impl Send for Monomial
impl Sync for Monomial
impl Unpin for Monomial
impl UnwindSafe for Monomial
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