'Parameters
list_of_poly:
List of polynomials belonging to the base ring of the algebra.
parent:
Parent algebra of the operator.'

def __init__(self, list_of_poly, parent):

    self.parent = parent
    base = self.parent.base
    self.x = (base.gens[0] if isinstance(base.gens[0], Symbol) else base.gens[0][0])
    for (i, j) in enumerate(list_of_poly):
        if (not isinstance(j, base.dtype)):
            list_of_poly[i] = base.from_sympy(sympify(j))
        else:
            list_of_poly[i] = base.from_sympy(base.to_sympy(j))
    self.listofpoly = list_of_poly
    self.order = (len(self.listofpoly) - 1)
