general class of polynomials