1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Abstract monomial — a single product of variable powers, e.g. `X^a Y^b`.
//!
//! See: <https://en.wikipedia.org/wiki/Monomial>
use ;
use One;
use crateLcMulKey;
/// Lexicographic and graded-lex orderings on monomials.
///
/// See: <https://en.wikipedia.org/wiki/Monomial_order>
/// Abstract monomial, parameterized by its degree type [`Self::Deg`].
///
/// Concrete implementors include [`Var`](super::Var), [`Var2`](super::Var2),
/// [`Var3`](super::Var3), and [`MultiVar`](super::MultiVar). With `Deg = isize`
/// the implementor represents a Laurent monomial (allowing negative powers).