public static full(shape as Tuple, value as T) as NDArray<T>:
Creates a new NDArray filled with a given value using a tuple shape.
a = NDArray<Int>.full((2, 3), 7)
| Parameter | Description |
|---|---|
shape | Fixed-size tuple of dimensions. |
value | The fill value. |
A new filled NDArray.