Changeset f11ebbb in git for Singular/LIB/random.lib


Ignore:
Timestamp:
Jul 20, 2006, 5:19:35 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
9fcd0ce4c1e81e1a9cb45650ec0424536503ac34
Parents:
a7a00b260ae8565373693ac2d660760f277072c9
Message:
*hannes: Santiagos changes


git-svn-id: file:///usr/local/Singular/svn/trunk@9335 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/random.lib

    ra7a00b rf11ebbb  
    11//(GMG/BM, last modified 22.06.96)
    22///////////////////////////////////////////////////////////////////////////////
    3 version="$Id: random.lib,v 1.16 2001-01-16 13:48:40 Singular Exp $";
     3version="$Id: random.lib,v 1.17 2006-07-20 15:19:35 Singular Exp $";
    44category="General purpose";
    55info="
     
    2727
    2828proc genericid (id, list #)
    29 "USAGE:   genericid(id,[,p,b]);  id ideal/module, k,p,b integers
     29"USAGE:   genericid(id[,p,b]);  id ideal/module, p,b integers
    3030RETURN:  system of generators of id which are generic, sparse, triagonal linear
    3131         combinations of given generators with coefficients in [1,b] and
     
    5555
    5656proc randomid (id, list #)
    57 "USAGE:   randomid(id,[k,b]);  id ideal/module, b,k integers
     57"USAGE:   randomid(id[,k,b]);  id ideal/module, b,k integers
    5858RETURN:  ideal/module having k generators which are random linear combinations
    5959         of generators of id with coefficients in the interval [-b,b]
     
    119119RETURN:  ideal having k generators, each of degree d, u<=d<=o, p percent of
    120120         terms in degree d are 0, the remaining have random coefficients
    121          in the interval [1,b], (default: o=u=d, p=75, b=30000)
     121         in the interval [1,b], (default: o=u, p=75, b=30000)
    122122EXAMPLE: example sparseid; shows an example
    123123"
     
    244244RETURN:  poly having only terms in degree d, u<=d<=o, p percent of the terms
    245245         in degree d are 0, the remaining have random coefficients in [1,b),
    246          (defaults: o=u=d, p=75, b=30000)
     246         (defaults: o=u, p=75, b=30000)
    247247EXAMPLE:  example sparsepoly; shows an example
    248248"
     
    351351RETURN:  ideal = maxideal(1), but the last variable is exchanged by a random
    352352         linear combination of all variables, with coefficients in the
    353          interval [-b,b].
     353         interval [-b,b], except for the last variable which always has
     354         coefficient 1
    354355EXAMPLE: example randomLast; shows an example
    355356"
Note: See TracChangeset for help on using the changeset viewer.