Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
N = 100
aim = 0
scale = 0.5
adjusted = []
for i in range(N):
curr = np.random.randn() * scale + aim
aim = -curr
non_adjusted = np.random.randn(N)*scale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.