Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,13 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
-
wlaminack/nonlineartesting2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
wlaminack/nonlineartesting2
|
5 |
+
|
6 |
+
def basic(array1):
|
7 |
+
x=(array1[0]-.5)
|
8 |
+
y=(array1[1]-.5)
|
9 |
+
z=(array1[2]-.5)
|
10 |
+
t=(array1[3]-.5)
|
11 |
+
r2=x*x+y*y+z*z+t*t
|
12 |
+
return 7*np.sin(9*r2)+np.random.random()*(array1[4]-.5)
|
13 |
+
f=np.apply_along_axis(basic, 1, a)
|