Extracts a slice from an array using static (compile-time) indices.
For dynamic indexing, use nv_subset() instead.
Value
arrayish
Has the same data type as operand.
See also
nv_subset(), prim_static_slice() for the underlying primitive.
Examples
x <- nv_array(1:10)
nv_static_slice(x, start_indices = 2L, limit_indices = 5L, strides = 1L)
#> AnvlArray
#> 2
#> 3
#> 4
#> 5
#> [ CPUi32{4} ]