bionet.utils.numpy_extras.crand

bionet.utils.numpy_extras.crand(*args)

Complex random values in a given shape.

Create an array of the given shape whose entries are complex numbers with real and imaginary parts sampled from a uniform distribution over [0, 1).

Parameters:

d0, d1, ..., dn : int

Shape of the output.

Returns:

out : numpy.ndarray

Complex random variables.