powered by
Generate a uniformly distributed random number in the range 0 to \(2^{size} -1\), inclusive.
urand.bigz(nb=1,size=200, seed = 0)
A biginteger of class bigz.
Integer: number of random numbers to be generated (size of vector returned)
Integer: number will be generated in the range 0 to \(2^{size} -1\)
Bigz: random seed initialisation
Antoine Lucas
mpz\_urandomb from the GMP Library, see https://gmplib.org
# Integers are differents urand.bigz() urand.bigz() urand.bigz() # Integers are the same urand.bigz(seed="234234234324323") urand.bigz(seed="234234234324323") # Vector urand.bigz(nb=50,size=30)
Run the code above in your browser using DataLab