First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

At least, the method is different since ZZ.random_element use random generation from gmp (or mpir), so it should not show the same drawbacks (though i can not guarantee that there is no other issue) .

click to hide/show revision 2
No.2 Revision

At least, the method is different since ZZ.random_element use random generation from gmp (or mpir), so it should not show the same drawbacks (though i can not guarantee that there is no other issue) . It is moreover much faster than randint.

click to hide/show revision 3
No.3 Revision

At least, the method is different since ZZ.random_element use random generation from gmp (or its fork mpir), so it should not show the same drawbacks (though i can not guarantee that there is no other issue) . It is moreover much faster than randint.