Top
Back: sparsematrix
Forward: sparsepoly
FastBack: poly_lib
FastForward: ring_lib
Up: random_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.7.6 sparsemat

Procedure from library random.lib (see random_lib).

Usage:
sparsemat(n,m[,p,b]); n,m,p,b integers

Return:
nxm integer matrix, p percent of the entries are 0, the remaining are random coefficients >=1 and <= b; [defaults: (p,b) = (75,1)]

Example:
 


Top Back: sparsematrix Forward: sparsepoly FastBack: poly_lib FastForward: ring_lib Up: random_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.