pub const fn ncoeffs(nvars: usize, degree: Power) -> usize
Expand description
Returns the number of coefficients for a polynomial of given degree and number of variables.
ยงRelated
See degree()
for the inverse operation, ncoeffs_iter()
for an
iterator that yields the number of coefficients for degree zero and up and
degree_ncoeffs_iter()
for an iterator that yields pairs of degrees and
number of coefficients.