Filip Cornell
Results
42
comments of
Filip Cornell
Would something like this do as a first draft? ```python3 def sample_4d_torus(n_points, seed): assert np.sqrt(n_points) % 1 == 0, "Please pick a number of points with integer root. " np.random.seed(seed)...
Oh yes, it should be `int(np.sqrt(n_points))`. Can we extend this to more than 4 dimensions?