|
D.2.7.7 sparsepoly
Procedure from library random.lib (see random_lib).
- Usage:
- sparsepoly(u[,o,p,b]); u,o,p,b integers
- Return:
- poly having only terms in degree d, u<=d<=o, p percentage of the terms
in degree d are 0, the remaining have random coefficients in [1,b),
(defaults: o=u, p=75, b=30000)
Example:
|