klyn.math.NDArray.randn
method

    public static randn(shape as IList<UInt>) as NDArray<T>:

Description

Creates a new NDArray with random floating-point numbers from a normal distribution.

Uses a CLT-based approximation with mean 0 and standard deviation 1.

Parameters

Parameter | Description
--- | ---
`shape` | The shape of the array.

Returns

A new NDArray with random floating-point numbers from a normal distribution.

Example

    a = NDArray<Double>.randn([3u, 3u])
    print(a)