Roots to polynomial

Constructs a polynomial that has as roots the desired ones.

roots_to_polynomial(List, Identifier)

Given a list L and an identifier x, returns a polynomial in the variable x with roots given by the elements of L.

roots_to_polynomial(List)

Given a list L, returns a polynomial with roots given by the elements of L.