initialisation from polynomials of different subclasses
added a missing docstring