A monomial in N variables: its exponents, one per slot (π is the slot 0; π_1, π_2, π_3 the slots 1, 2, 3). The free commutative monoid on N generators, written multiplicatively (the exponents add, as natural numbers: leaving the word raises), and a chain under the graded lexicographic order: by total degree, then by exponents.
More...
|
|
constexpr unsigned long long | degree () const |
| | The total degree, in a wider word than the exponents.
|
| constexpr unsigned | exponent (std::size_t slot) const |
| | The exponent of slot.
|
|
constexpr Monomial | without (std::size_t slot) const |
| | This monomial with one factor of slot removed; defined where exponent(slot) is positive (the derivative's use).
|
|
|
static constexpr Monomial | one () |
| | The empty product, the monoid's unit.
|
| static constexpr Monomial | variable (std::size_t slot) |
| | The variable of slot.
|
|
|
std::array< unsigned, N > | e {} |
template<std::size_t N>
struct dedekind::algebra::Monomial< N >
A monomial in N variables: its exponents, one per slot (π is the slot 0; π_1, π_2, π_3 the slots 1, 2, 3). The free commutative monoid on N generators, written multiplicatively (the exponents add, as natural numbers: leaving the word raises), and a chain under the graded lexicographic order: by total degree, then by exponents.
- Template Parameters
-
| N | the number of variables. |
◆ exponent()
The exponent of slot.
- Exceptions
-
| std::out_of_range | beyond N. |
◆ variable()
The variable of slot.
- Exceptions
-
| std::out_of_range | beyond N. |
◆ operator*
The product: exponents add.
- Exceptions
-
| std::overflow_error | where an exponent would leave the word. |
The documentation for this struct was generated from the following file: