EXPAND(x;s) forms a variate of length s, containing zeroes and ones; if s is omitted and the length cannot be determined from the context, the length of the current units structure, if any, is taken. The values in x specify the numbers of the units that are to contain the value 1.
EXPAND
Updated on December 4, 2017