Further methods


Functions

monomial_tmon_generate_by_degree (uint32_t *len, const uint8_t n, const uint32_t d)
monomial_tmon_generate_by_degree_invlex (uint32_t *len, const uint8_t n, const uint32_t d)

Function Documentation

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 $\binom{n+d}{d}$, 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 $\binom{n+d}{d}$, which is also the value of *len on exit. The monomials are arrange in ascending inverse lexicographical order.


Generated on Sat Nov 14 23:24:59 2009 for MONV by  doxygen 1.5.6