Skip to content

Commit 67de166

Browse files
authored
radial_functions.py
1 parent a13cbe4 commit 67de166

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

radial_functions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import numpy as np
22

3+
#Functions used for each stage of the algorithm.
4+
35
def MQ(x,c):
46
k = np.sqrt(c**2+np.linalg.norm(x)**2)
57
return k
@@ -145,4 +147,4 @@ def points_normal(n,d):
145147

146148
def points_integer_grid(n,d, s_min, s_max):
147149
points = np.random.randint(s_min,s_max, size = (n,d))
148-
return points
150+
return points

0 commit comments

Comments
 (0)