|
| Eigen::Matrix< Monomial, Eigen::Dynamic, 1 > | MonomialBasis (const Variables &vars, int degree) |
| | Returns all monomials up to a given degree under the graded reverse lexicographic order. More...
|
| |
| constexpr int | NChooseK (int n, int k) |
| |
| template<int n, int degree> |
| Eigen::Matrix< Monomial, NChooseK(n+degree, degree), 1 > | MonomialBasis (const Variables &vars) |
| | Returns all monomials up to a given degree under the graded reverse lexicographic order. More...
|
| |
| VectorX< Monomial > | MonomialBasis (const std::unordered_map< Variables, int > &variables_degree) |
| | Returns all the monomials (in graded reverse lexicographic order) such that the total degree for each set of variables is no larger than a specific degree. More...
|
| |
| Eigen::Matrix< Monomial, Eigen::Dynamic, 1 > | EvenDegreeMonomialBasis (const Variables &vars, int degree) |
| | Returns all even degree monomials up to a given degree under the graded reverse lexicographic order. More...
|
| |
| Eigen::Matrix< Monomial, Eigen::Dynamic, 1 > | OddDegreeMonomialBasis (const Variables &vars, int degree) |
| | Returns all odd degree monomials up to a given degree under the graded reverse lexicographic order. More...
|
| |
| VectorX< Monomial > | CalcMonomialBasisOrderUpToOne (const Variables &x, bool sort_monomial=false) |
| | Generates all the monomials of x, such that the degree for x(i) is no larger than 1 for every x(i) in x. More...
|
| |