spheres.utils.rand_c¶
-
spheres.utils.
rand_c
(n=1)[source]¶ Generates (n) random extended complex coordinate(s) whose real and imaginary parts are normally distributed, and ten percent of the time, we return \(\infty\).
- Parameters
n (int) – Number of coordinates.
- Returns
c – n extended complex coordinates.
- Return type
complex/inf or np.array