next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: random(Module,Module)

random(Module,Module) -- make a random module map

Synopsis

Description

R = ZZ/101[x,y];
random(R^{1,2,3},R^{1,2,3})
random(ZZ^3,ZZ^6,MaximalRank=>true)
random(ZZ^3,ZZ^10,Density=>.3)
random(ZZ^6,ZZ^6,UpperTriangular=>true)

Caveat

Over a polynomial ring, specifying MaximalRank=>true will yield a non-homogeneous matrix.

See also