[sage-devel] Re: Rank of random dense matrices over GF(2)

2016-04-24 Thread Volker Braun
On Sunday, April 24, 2016 at 12:36:28 AM UTC+2, Dima Pasechnik wrote: > > sage: random_matrix? > ... >Warning: Matrices generated are not uniformly distributed. For > unimodular matrices over finite field this function does not even > generate all of them: for example "Matrix.random(G

[sage-devel] Re: Rank of random dense matrices over GF(2)

2016-04-24 Thread Volker Braun
On Sunday, April 24, 2016 at 1:01:39 AM UTC+2, Kiran Kedlaya wrote: > > This seems to be filling out each row using successive random 32-bit words > from gmp, lopping off the extra bits at the end. Is that a bad idea for > some reason? > Its only lopping off the excess bits at the last column of

Re: [sage-devel] Re: Rank of random dense matrices over GF(2)

2016-04-24 Thread Jori Mäntysalo
On Sun, 24 Apr 2016, Volker Braun wrote:    Warning: Matrices generated are not uniformly distributed. For      unimodular matrices over finite field this function does not even At least its not THAT predictable ;-) ... after some attempts ... sage: MatrixSpace(GF(3), 2, 2).random_element() [2

Re: [sage-devel] Re: LaurentPolynomialRing and PolynomialRing behave inconsistently -- Request For Comments

2016-04-24 Thread VulK
Dear All, sorry for the late reply: my todo list came knocking at my door and required immediate attention. I did a small test and it appears that both Polynomial and LaurentPolynomial behave in the same way with respect to coercion. On the other hand their behavior under conversion is different.

Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-24 Thread Andrey Novoseltsev
Update: 1) Chrome does not work because of executing sagecell.makeSagecell(...) before finishes while Firefox waits till the script is processed. The issue goes away if I wrap makeSagecell call in require(...), but I have no idea how to make it work without, which is necessary for supporting old