+1 it looks like parameter "density" is useful to control how sparse is the matrix (density of zero elements)
at least, we can use density parameter with value "greater" than 1...to get (maybe :-) ) matrix with no zero random_matrix(ZZ, 5, 5, distribution="uniform",density=1.5) print random_matrix(ZZ, 5, 5, distribution="uniform",density=1.5) print random_matrix(ZZ, 5, 5, distribution="uniform",density=1.5) Dominique -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.