![]() |
Symmetric Polynomials
V3.1
A C++ library for generating symmetric polynomials with relations
|
Variables \(e_1,...,e_n\) of degrees \(|e_i|=i\). More...
#include <Symmetric_Basis.hpp>
Public Types | |
typedef _deg | deg_t |
Degree typedef. More... | |
![]() | |
typedef int64_t | deg_t |
Degree typedef. More... | |
Public Member Functions | |
deg_t | degree () const |
Computes degree of monomial on the \(e_i\). More... | |
![]() | |
deg_t | degree () const |
Computes degree of monomial on standard variables \(x_i\). More... | |
StandardVariables | operator+ (const StandardVariables &b) const |
Multiplies monomials by adding their exponents. More... | |
size_t | operator() () const |
Hashes monomial. More... | |
Static Public Member Functions | |
static std::string | name (int i, int n) |
Returns the name of the variables \(e_i\). More... | |
![]() | |
static std::string | name (int i, int n) |
Returns the names of the standard variables \(x_i\). More... | |
Variables \(e_1,...,e_n\) of degrees \(|e_i|=i\).
A monomial \(x_1^{a_1}\cdots x_n^{a_n}\) is stored as the vector \([a_1,...,a_n]\)
T | The (integral) value type of the exponent vector. |
_deg | The (integral) value type used in the degree function. |
typedef _deg deg_t |
Degree typedef.
deg_t degree | ( | ) | const |
Computes degree of monomial on the \(e_i\).
*this
= \(e_1^{a_1}\cdots e_n^{a_n}\)
|
static |
Returns the name of the variables \(e_i\).
i | The variable index |
n | The number variables |