public set(notnull indices as Long[], value as T)
Writes one scalar using a complete coordinate vector, for any rank.
| Parameter | Description |
|---|---|
indices | Exactly ndim coordinates; negative indices count backwards. |
value | New scalar value. |
cube = NDArray<Int>.zeros([2, 2, 2]) cube[0, 1, 0] = 42 assert cube[0, 1, 0] == 42