next up previous contents
Next: representatives Up: Scripts of Macaulay (by Previous: push_forward1

random_mat

Usage:
    <random_mat a b i m
defines an  a x b  matrix m whose entries are random linear
combinations of the entries of the 1xn matrix i.  The rowdegs of m
are all = 0.
Parameters:
            a,b = integers >= 0 (a>0 )
            i = ideal.
Output values:
            m = a x b matrix
Caveat: Unless all the entries of i are of the same degree,
m will not be homogeneous.
he restriction a>0 is necessary till random can take
0s as parameters.



Sorin Popescu
Fri Feb 14 17:37:19 EST 1997