Functions | |
monomial_t * | mon_generate_by_degree (uint32_t *len, const uint8_t n, const uint32_t d) |
monomial_t * | mon_generate_by_degree_invlex (uint32_t *len, const uint8_t n, const uint32_t d) |
monomial_t* mon_generate_by_degree | ( | uint32_t * | len, | |
const uint8_t | n, | |||
const uint32_t | d | |||
) |
Generates all monomials in n + 1
variables of total degree d
.
This method returns an array of length , which is also the value of
*len
on exit. The monomials are arrange in descending lexicographical order.
monomial_t* mon_generate_by_degree_invlex | ( | uint32_t * | len, | |
const uint8_t | n, | |||
const uint32_t | d | |||
) |
Generates all monomials in n + 1
variables of total degree d
.
This method returns an array of length , which is also the value of
*len
on exit. The monomials are arrange in ascending inverse lexicographical order.