11 lines
148 B
Python
Executable file
11 lines
148 B
Python
Executable file
#!/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) ) )
|