klyn.math.NDArray.zeros
method
public static zeros(shape as IList<Int>) as NDArray<T>:
Description

Creates a new NDArray with zeros.

Parameters
  • shape The shape dimensions.
Returns

A new NDArray filled with 0. a = NDArray<Int>.zeros([2, 2])