vendredi 2 juin 2017

Random filling of a symmetric matrix

Help to make random filling of a symmetric matrix from 0, 1. On the main diagonal there must be zeros. A unit should appear with a probability P input from the keyboard.




Aucun commentaire:

Enregistrer un commentaire