slice_to_end
stdlib/slice_to_end.nbv
slice_to_end(v, start_i)
get the elements of v after start_i e.g. v[start_i..]
- Precompiles
len!,slice!- Used by
polynomial/mat_poly_compose_vertical,polynomial/mat_poly_mul_vec,polynomial/ntt_negacyclic_mat
Source
# get the elements of `v` after `start_i`
# e.g. `v[start_i..]`
(v, start_i)
static v_len = len! v
static output_len = v_len - start_i
slice! v, start_i, output_len