Home Online Manual
Top
Back: grconcat
Forward: grrndmap
FastBack:
FastForward:
Up: gradedModules_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.14.24 grrndmat

Procedure from library gradedModules.lib (see gradedModules_lib).

Usage:
grrndmat(src,dst[,p,b]), intvec src, dst[, int p, b]

Return:
matrix of polynomials

Purpose:
generate random matrix compatible with src and dst gradings

Note:
optional arguments p, b are for 'sparsepoly' (by default: 75%, 30000).

Todo:
this is experimental at the moment!

Example:
 
LIB "gradedModules.lib";
ring r=32003,(x,y,z),dp;
print( grrndmat( intvec(0, 1), intvec(1, 2, 3) ) );
==> 6204y,                    -7833,        
==> -12498xz+12773z2,         5664z,        
==> -10041x3-11973x2y-5644xy2,-7740xy-5361z2