Top
Back: randomid
Forward: sparseid
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.3 randommat

Procedure from library random.lib (see random_lib).

Usage:
randommat(n,m[,id,b]); n,m,b integers, id ideal

Return:
nxm matrix, entries are random linear combinations of elements of id and coefficients in [-b,b]
[default: (id,b) = (maxideal(1),30000)]

Note:
For performance reasons try small bound b in char 0

Example:
 


Top Back: randomid Forward: sparseid 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.