How can I perform a zip iterator in reverse order? I need to shift the elements of a sub array.
My code is as follows:
for (x,y) in zip({c..d by stride},{a..b by stride},){
A1[x]=A1[y];
}
I need to perform this in reverse order(i.e b-->a & d-->c ) so as to avoid overwriting in case of an overlapping region . (a..b is always before c..d).