public static randint(min as Int, max as Int, notnull shape as IList<Long>) as NDArray<T>
Accepts 64-bit signed shape dimensions without truncation.
| Parameter | Description |
|---|---|
shape | Non-negative dimensions in row-major order. |
min | Inclusive lower bound. |
max | Inclusive upper bound. |
The same result as the corresponding 32-bit shape overload.
values = NDArray<Double>.randint(1, 6, [2l, 3l]) print(values.shape)