c=np.random.rand(10,2)
generates an array of random numbers from in [0,1)
. Can I generate the same array (in terms of size) but with negative AND positive numbers? Moreover, can I choose the limits and the dimension of this array? for example if I want from -2 to 2.
Aucun commentaire:
Enregistrer un commentaire