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

Accepts 64-bit unsigned shape dimensions without truncation.

Parameters
ParameterDescription
shapeNon-negative dimensions in row-major order.
Returns

The same result as the corresponding 32-bit shape overload.

Throws
  • NullException if shape is null at runtime; statically null arguments are rejected with TypeError.
Example
values = NDArray<Double>.zeros([2ul, 3ul])
print(values.shape)