For a([x,y,z],k)
where x,y,z,k
are all lists, it gives [x&k, y&k, z&k]
, vectorizing each list as I stated above.
So a([[0,1,2,3,3,2,1,0],[0,1,2,3],[0,2],[0,3]],[0,1,2,3])
gives [[0,1,2,3,3,2,1,0]a[0,1,2,3], [0,1,2,3]a[0,1,2,3], [0,2]a[0,1,2,3], [0,3]a[0,1,2,3]])
.
Which is [[0,1,2,3,3,2,1,0],[0,1,2,3],[0,1,2,3],[0,1,2,3]]