bit::polynomial
— Coefficient Counts
We have methods to count the number of ones and zeros in the vector of polynomial coefficients.
- 1
- Returns the number of zero coefficients in the polynomial.
- 2
- Returns the number of one coefficients in the polynomial.