pub struct TropicalMonomial {
pub coeff: f64,
pub exp: i32,
}Expand description
A monomial in tropical arithmetic: a ⊗ x^k = a + k*x
Fields§
§coeff: f64Coefficient (tropical)
exp: i32Exponent
Implementations§
Trait Implementations§
Source§impl Clone for TropicalMonomial
impl Clone for TropicalMonomial
Source§fn clone(&self) -> TropicalMonomial
fn clone(&self) -> TropicalMonomial
Returns a duplicate of the value. Read more
1.0.0 · 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 TropicalMonomial
impl Debug for TropicalMonomial
impl Copy for TropicalMonomial
Auto Trait Implementations§
impl Freeze for TropicalMonomial
impl RefUnwindSafe for TropicalMonomial
impl Send for TropicalMonomial
impl Sync for TropicalMonomial
impl Unpin for TropicalMonomial
impl UnwindSafe for TropicalMonomial
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