Computational Physics, Python, Linear Algebra, Math, Mathematics.
below) containing 100 points with random values and pseudo-random values. The function seed() from the Numpy.random package is used to freeze the randomization and be able to reproduce the results: np.random.seed(123) x = 5*np.random.rand(100) y = 2*x + 1 + np.random.randn(100) x = x.reshape(100,