16 lines
842 B
Python
16 lines
842 B
Python
>>> from numpy.random import default_rng
|
|
>>> rng = default_rng()
|
|
>>> n_pts = 50
|
|
>>> x = rng.standard_normal(n_pts)
|
|
>>> x
|
|
array([ 0.41256003, 0.67594205, 1.264653 , 1.16351491, -0.41594407,
|
|
-0.60157015, 0.84889823, -0.59984223, 0.24374326, 0.06055498,
|
|
-0.48512829, 1.02253594, -1.10982933, -0.40609179, 0.55076245,
|
|
0.13046238, 0.86712869, 0.06139358, -2.26538163, 1.45785923,
|
|
-0.56220574, -1.38775239, -2.39643977, -0.77498392, 1.16794796,
|
|
-0.6588802 , 1.66343434, 1.57475219, -0.03374501, -0.62757059,
|
|
-0.99378175, 0.69259747, -1.04555996, 0.62653116, -0.9042063 ,
|
|
-0.32565268, -0.99762804, -0.4270288 , 0.69940045, -0.46574267,
|
|
1.82225132, 0.23925201, -1.0443741 , -0.54779683, 1.17466477,
|
|
-2.54906663, -0.31495622, 0.25224765, -1.20869217, -1.02737145])
|