James R wrote:
Tinnitus I have to dissagree with your method to eliminate the transpose array
I fully agree. You cannot swap the inputs to "reshape array" without completely changing the outcome.
In this particular case, the reshape array followd by transpose is however not very memory efficient, because both nodes require a new buffer allocation for the (potentially large) array. It would be much easier to operate directly on the 1D array, e.g. as follows.
Why reshuffle the entire input array twice if all we really need is to look at a few small subsets? That would only be justifyable if we need the transposed 2D array elsehwere anyway. 😉
Yes you are right,
the thing to know is what lsass 1Darray is 12345678,12345678,12345678.... or 11111111 22222222,33333333,44444444,.....
Thanks for the great help. I have successfully been able to do what I want to do. I used the reshape array with the size multiplied by iteration value as my index and it works perfectly. Huge THANKS to all:)
Btw, my array is a binary one like...11100001111000..etc