ZINS
ZINS (Zeros Insert)
Section titled “ZINS (Zeros Insert)”Reference
Section titled “Reference”>> Reference, Discussion, & Example Applications:
Inserts 1 or more zeros to a sequence of n elements.
Inputs:
Section titled “Inputs:”- n : nr. of elements
- x : element’s group size
- g : 0’s group size
ZINS = LAMBDA(n, x, g, LET( t, TOCOL( IFNA(EXPAND(WRAPROWS(SEQUENCE(n), x), , g + x), 0) ), TAKE(t, XMATCH(n, t)) ));