PolynomialToUnivariatePolynomial(x, R)¶

univariate(p, x) converts the polynomial p to a one of type UnivariatePolynomial(x, Polynomial(R)), ie. as a member of R[...][x].