A simple class of polynomials implemented in different languages, to train.