def randn(*shape): '''Return dataset of given shape (or a single number) with samples taken from a normal distribution of zero mean and unit variance ''' if len(shape) == 0: return _random.randn([1]).getObject([0]) return _random.randn(shape)