klyn.math.NDArray.random
method
public static random(shape as IList<Int>) as NDArray<T>:
DescriptionCreates a NDArray with random values in `[0, 1)` using read-only shape dimensions.
a = NDArray<Double>.random([2, 2])
print(a)
ReturnsA random NDArray. ```klyn a = NDArray<Double>.random([2, 2]) print(a) ```