def _randMatrix(self, rows, cols, dtype):
    if (dtype is np.complex64):
        real = self._randMatrix(rows, cols, np.float32)
        imag = self._randMatrix(rows, cols, np.float32)
        return (real + (np.complex(0, 1) * imag))
    else:
        return np.random.uniform(low=1.0, high=100.0, size=(rows * cols)).reshape([rows, cols]).astype(dtype)
def _randMatrix(self, rows, cols, dtype):
    if (dtype is np.complex64):
        real = self._randMatrix(rows, cols, np.float32)
        imag = self._randMatrix(rows, cols, np.float32)
        return (real + (np.complex(0, 1) * imag))
    else:
        return np.random.uniform(low=1.0, high=100.0, size=(rows * cols)).reshape([rows, cols]).astype(dtype)