mercredi 17 juin 2020

How do I generate all possible random matrices of a certain dimension and put them all in a list?

I know how to generate a random matrix of specified length and range of integers x=np.random.randint(2, size=(r, c))

but how do I generate all possible random matrices and store them in a list?

I want to be able to loop through all the possibilities




Aucun commentaire:

Enregistrer un commentaire