[next][previous][up][top][index]
search for:

random(ZZ,Ring) -- a random ring element of a given degree

random(n,R) -- yields a random homogeneous element of degree n in the ring R.

Synopsis of use:

  • Operator: random
  • Class of argument 1: ZZ
  • Class of argument 2: Ring
  • Class of typical returned value: RingElement
  • Code:

         -- ../m2/genmat.m2:51
         random(ZZ,Ring) := RingElement => (n,R) -> random({n},R)

    [next][previous][up][top][index]
    search for: