Let assume I have an MxN array and I should sum this array like in image as shown below;
I should sum all x's , all y's , all z's and all g's. I need an approach. My_Brain.exe has stopped and I couldn't find any approach to solve this problem.
Let assume I have an MxN array and I should sum this array like in image as shown below;
I should sum all x's , all y's , all z's and all g's. I need an approach. My_Brain.exe has stopped and I couldn't find any approach to solve this problem.
% is the modulo operator