wlaminack's picture
Update README.md
7750b56
|
raw
history blame contribute delete
No virus
241 Bytes
---
license: apache-2.0
---
def basic(array1):
x=(array1[0]-.5)
y=(array1[1]-.5)
z=(array1[2]-.5)
t=(array1[3]-.5)
r2=x*x+y*y+z*z+t*t
return 3*np.sin(r2)+np.random.random()*array1[4]
f=np.apply_along_axis(basic, 1, a)