Polynomial library