Eigenpoll : D wish list : Array masking 

To write
a[2|5|7]=5;
for assigning instead of
a[2]=5;a[5]=5;a[7]=5;

but also something like

a[2|5|7]=b[3|1|9];
for
a[2]=b[3];a[5]=b[1];a[7]=b[9];

for high dimensions
a[1|4|5,9] for a[1,9],a[4,9],a[5,9]

and
a[(1|3,4)|(4,2)|(1,3|5)]
for a[1,4],a[3,4],a[4,2],a[1,5],a[3,5]

Report this item for cleanup