12 lines
148 B
Python
12 lines
148 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
import numpy as np
|
||
|
import sys
|
||
|
|
||
|
N = 1e6
|
||
|
|
||
|
if len(sys.argv) > 1:
|
||
|
N = float(sys.argv[1])
|
||
|
|
||
|
print( np.random.rand( int(N) ) )
|