klyn.math.NDArray.zeros
method
public static zeros(shape as ArrayList<Object>) as NDArray<T>:
DescriptionCreates a new NDArray with zeros.
dims = [2, 3]
a = NDArray<Int>.zeros(dims)
print(a.shape)
ReturnsA new NDArray filled with `0`. ```klyn dims = [2, 3] a = NDArray<Int>.zeros(dims) print(a.shape) ```