next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
random(List,Ring) -- a random ring element of a given degree
Synopsis
Usage:
r = random(n,R)
Function:
random
Inputs:
n
,
a
list
, a list of integers
R
,
a
ring
Outputs:
a
ring element
, a random homogeneous element in the ring
R
of multi-degree
n
Optional inputs
:
MaximalRank => ...
,
Description
The length of
n
should be the same as
degreeLength R
.
See also
setRandomSeed
-- set starting point for random number generator