Expand description
Polynomials and their monomials, in one, two, three or indexed-many variables, ordinary or Laurent.
Structs§
- Multi
Deg - Multi-degree of a monomial, stored sparsely as
{ variable_index → exponent }. Zero exponents are elided. - Multi
Var - A multivariate monomial in indexed variables
Xᵢ, with exponents stored in aMultiDeg. The base symbolXis a const generic; the actual variables areX₀, X₁, …(displayed with subscripts). - Poly
Base - A polynomial: a linear combination of monomials
Xwith coefficients inR. - Var
- A univariate monomial
X^d, where the variable symbolXis a const generic andIis the exponent type (usizeorisize). - Var2
- A bivariate monomial
X^i Y^j, with variable symbolsX,Yas const generics and exponent typeI(usizeorisize). - Var3
- A trivariate monomial
X^i Y^j Z^k, with variable symbolsX,Y,Zas const generics and exponent typeI(usizeorisize).
Traits§
- Mono
- Abstract monomial, parameterized by its degree type
Self::Deg. - MonoOrd
- Lexicographic and graded-lex orderings on monomials.
Type Aliases§
- LPoly
- Univariate Laurent polynomial
R[X, X⁻¹]. - LPoly2
- Bivariate Laurent polynomial
R[X, X⁻¹, Y, Y⁻¹]. - LPoly3
- Trivariate Laurent polynomial.
- LPolyN
- Multivariate Laurent polynomial in indexed variables
X₀, X₁, …. - Poly
- Univariate polynomial
R[X]. - Poly2
- Bivariate polynomial
R[X, Y]. - Poly3
- Trivariate polynomial
R[X, Y, Z]. - PolyN
- Multivariate polynomial in indexed variables
X₀, X₁, ….