lundi 9 septembre 2019

want to populate a matrix with numbers in random positions and their frequency are given

I want to create a matrix with numbers in the range 0-2, the number of times each number appears in the matrix is given but their positions have to be random.




Aucun commentaire:

Enregistrer un commentaire