public static full(notnull shape as IList<UInt>, value as T) as NDArray<T>
Creates a new NDArray filled with a given value.
| Parameter | Description |
|---|---|
shape | The shape of the array. |
value | The fill value. |
A new filled NDArray.
a = NDArray<Int>.full([2, 3], 7)