|  |  D.13.4.34 randomPolyInT Procedure from librarytropical.lib(see  tropical_lib).
 
Example:Usage:
randomPolyInT(d,ug,og[,#]); d, ug, og int, # list
Assume:
the basering has a parameter t
Return:
poly, a polynomial of degree d where the coefficients are
of the form t^j with j a random integer between ug and og
Note:
if an optional argument # is given, then the coefficients are
instead either of the form t^j as above or they are zero,
and this is chosen randomly
 |  | LIB "tropical.lib";
==> Welcome to polymake version
==> Copyright (c) 1997-2015
==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
==> http://www.polymake.org
ring r=(0,t),(x,y),dp;
randomPolyInT(3,-2,5);
==> (t5)*x3+1/(t2)*x2y+(t3)*xy2+(t4)*y3+1/(t)*x2+(t5)*xy+y2+1/(t2)*x+1/(t)*y+\
   1
randomPolyInT(3,-2,5,1);
==> (t4)*y3+1/(t)*x2+(t2)*xy+(t2)*y2+(t3)*x
 | 
 
 |