skrf.mathFunctions.rand_c

skrf.mathFunctions.rand_c(*size, rng=None)[source]

Creates a complex random array of shape s.

The bounds on real and imaginary values are (-1,1)

Parameters:
Return type:

ndarray

Examples

>>> x1 = rf.rand_c(2, 2)
>>> x2 = rf.rand_c(2, 2, np.random.default_rng(seed=42))