@lace(t:tab, n:numeric)
t
subcollections, up to size n
.
@lace([[1, 2, 3], 6, ["foo", "bar"]], 9)
[1, 6, "foo", 2, 6, "bar", 3, 6, "foo"]
t
, the second in
the second element of t
, etc., in a cyclic way, until 9 elements
have been acquired. Scalar elements are extended to tab of constants and
element in a subcollection are taken modulo the size of the
subcollection.
See also Tab Manipulations @car, @cdr, @clear, @concat, @cons, @copy, @count, @dim, @domain, @drop, @empty, @find, @flatten, @gnuplot, @insert, @iota, @is_list, @is_prefix, @is_subsequence, @is_suffix, @lace, @last, @listify, @map, @max_val, @median, @member, @normalize, @occurs, @parse, @permute, @push_back, @push_front, @range, @reduce, @remove, @remove_duplicate, @replace, @reshape, @resize, @reverse, @rotate, @scan, @scramble, @size, @slice, @sort, @sputter, @stutter, @succession, @tab_history, @tab_history_date, @tab_history_rdate, @take @to_num