up previous next

Poly

Syntax

Poly(E:OBJECT):POLY
    

Summary

convert an expression into a polynomial

Description

This function converts the expression E into a polynomial, if possible. It is the same as Cast(E,POLY).

example

    
F := 3;
G := Poly(3);
Type(F);
INT
-------------------------------
Type(G);
POLY
-------------------------------
Use R ::= Q[x];
Poly(Vector(x));
x
-------------------------------
        
    

See Also