220KiB, 1080x1920, Screenshot_2019-12-12-00-30-49-765_ru.iiec.pydroid3.png
Hello , i was playing around with some pattern recognition .
ive just came up with this triangular patter loop , seems strange.
at low values of the array the function seems random
What /sci/ thinks about?
import numpy as np
import matplotlib.pyplot as plt
n=100
t=np.zeros((n,n))
print(t)
for i in range(n):
for j in range(1,n):
t[(i,j)]=(i*3-1)%j
t[(i,j-1)]=(i/2)%j
plt.plot(t)
plt.show()
ive just came up with this triangular patter loop , seems strange.
at low values of the array the function seems random
What /sci/ thinks about?
import numpy as np
import matplotlib.pyplot as plt
n=100
t=np.zeros((n,n))
print(t)
for i in range(n):
for j in range(1,n):
t[(i,j)]=(i*3-1)%j
t[(i,j-1)]=(i/2)%j
plt.plot(t)
plt.show()
