klyn.math.NDArray.randn
method
public static randn(shape as IList<UInt>) as NDArray<T>:
DescriptionCreates a new NDArray with random floating-point numbers from a normal distribution.
Uses a CLT-based approximation with mean 0 and standard deviation 1.
a = NDArray<Double>.randn([3u, 3u])
print(a)
ReturnsA new NDArray with random floating-point numbers from a normal distribution. ``` a = NDArray<Double>.randn([3u, 3u]) print(a) ```