Home Online Manual
Top
Back: polyclass_lib
Forward: printPoly
FastBack:
FastForward:
Up: polyclass_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.13.1 makePoly

Procedure from library polyclass.lib (see polyclass_lib).

Usage:
makePoly(f); f poly

Return:
make a ring independent Poly from a poly in the basering

Example:
 
LIB "polyclass.lib";
ring R=0,(x,y),dp;
Poly f=3*x^2+x*y+1;
Poly g=2*x+y^3;
f*g;
==> 3x2y3+xy4+6x3+2x2y+y3+2x
==> 
f+g;
==> y3+3x2+xy+2x+1
==> 
f^3;
==> 27x6+27x5y+9x4y2+x3y3+27x4+18x3y+3x2y2+9x2+3xy+1
==>