Index Generator r←⍳y

y is a scalar or vector of naturals. r is an array with the shape y where each item is a scalar or vector containing its index in the array.