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

Accepts 64-bit unsigned shape dimensions without truncation.

Parameters
ParameterDescription
shapeNon-negative dimensions in row-major order.
valueInitial value for every element.
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>.full([2ul, 3ul], 7.0)
print(values.shape)