(x, n, inf, sup, domain=ZZ, polys=False)
Return a polynomial of degree ``n`` with coefficients in ``[inf, sup]``.
Return a polynomial of degree ``n`` with coefficients in ``[inf, sup]``.
Return a polynomial of degree n with coefficients in [ inf sup ] .
def random_poly(x, n, inf, sup, domain=ZZ, polys=False):
    """Return a polynomial of degree ``n`` with coefficients in ``[inf, sup]``. """
    poly = Poly(dup_random(n, inf, sup, domain), x, domain=domain)

    if not polys:
        return poly.as_expr()
    else:
        return poly
def random_poly ( x , n , inf , sup , domain = ZZ , polys = False ) : poly = Poly ( dup_random ( n , inf , sup , domain ) , x , domain = domain ) if not polys : return poly . as_expr ( ) else : return poly