[back] [prev] [next] [index] [root]
f := RandomPoly(R, d [, l]);
polynomial | f |
in R[x] |
ring | R |
may be an order, an ideal, Z, a module or an function field order. |
integer | d |
degree of f |
list | l |
of possible (coeffiecents of the) coefficients. |
kash> f := RandomPoly(Z, 3); x^3 + 19*x^2 + 11*x + 5 kash> o := Order(f); Generating polynomial: x^3 + 19*x^2 + 11*x + 5 kash> g := RandomPoly(o, 4); > x^4 + [-6, -18, -6]*x^3 + [17, 18, 5]*x^2 + [-16, -1, -16]*x + [-4, -3, 13]
<- back[back] [prev] [next] [index] [root]