(point, array_2D)
| 112 | |
| 113 | |
| 114 | def point_in_array_2D(point, array_2D): |
| 115 | point = np.array(point, dtype=array_2D.dtype) |
| 116 | for other_point in array_2D: |
| 117 | if np.all(point == other_point): |
| 118 | return True |
| 119 | |
| 120 | |
| 121 | def cov3D(k_neighbors): |
no outgoing calls