Re: [sage-support] random_matrix -- should returned matrix contain zeros?

2015-05-17 Thread Ronald L. Rivest
Thanks for the quick reply! Cheers, Ron On Sunday, May 17, 2015 at 2:05:04 PM UTC-4, William wrote: > > On Sat, May 16, 2015 at 8:17 PM, Ronald L. Rivest > wrote: > > When I type > > random_matrix? > > at the sage notebook, I get documentation that says, for example, that > the > > ma

[sage-support] Re: installing optional packages

2015-05-17 Thread Dima Pasechnik
On Sunday, 17 May 2015 17:43:20 UTC+1, Luis Garcia-Puente wrote: > > After installing sage 6.6, I tried to install the optional packages 4ti2, > macaulay2, and nauty but the command > please note that macaulay2 package is very, very old, and should not be used (the current Macaulay2 version is

Re: [sage-support] random_matrix -- should returned matrix contain zeros?

2015-05-17 Thread William Stein
On Sat, May 16, 2015 at 8:17 PM, Ronald L. Rivest wrote: > When I type > random_matrix? > at the sage notebook, I get documentation that says, for example, that the > matrix > entries will never be zero. But they are, even in the given example. What > does > "and never zero" mean here? It's

[sage-support] Re: installing optional packages

2015-05-17 Thread Volker Braun
Fixed in Sage 6.7-rc0 and later...6.7 should be out today. On Sunday, May 17, 2015 at 6:43:20 PM UTC+2, Luis Garcia-Puente wrote: > > After installing sage 6.6, I tried to install the optional packages 4ti2, > macaulay2, and nauty but the command > > sage -i 4ti2 > > returns: > > /Applicatio

[sage-support] installing optional packages

2015-05-17 Thread Luis Garcia-Puente
After installing sage 6.6, I tried to install the optional packages 4ti2, macaulay2, and nauty but the command sage -i 4ti2 returns: /Applications/sage/src/bin/sage-spkg: line 312: cd: /Applications/sage/upstream: No such file or directory Attempting to download package 4ti2 >>> Checking onlin

[sage-support] Re: random_matrix -- should returned matrix contain zeros?

2015-05-17 Thread Dominique Laurain
+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_