okay so consider the operation that starts with a list of length n of numbers (say [2, 1, 3, 0]) and produces a 2d array where each row is also length n and has zeros at every index except the index that corresponds to the value from the first list (i.e., [[0,0,1,0],[0,1,0,0],[0,0,0,1],[1,0,0,0]])
is there a more specific and/or less technical term for this operation other than "one-hot encoding"?
@aparrish I don't think this is better but the other electronics thing this reminds me of is a demux/demultiplexer