
expr - convert a polynomial into an expression

Calling sequence:
expr(pol)
expr(exp)

Parameter:
pol   --  polynomial
exp   --  expression

Overloading:

all

Summary:

expr converts the polynomialpol (basic type DOM_POLY) into an expression.
If pol is a polynomial with domain elements as coefficients then these are
also converted into expressions using the method expr of the domain.

If the argument is not a polynomial, then it is evaluated and returned.

expr is a kernel function.

>>  p := poly(x^2+y, [x]): expr(p);

      y + x^2

See also:  poly

