I have a 3 dimensional array myArray(x,y,z), with x & y being input and z being output data in my case. I want to use different functions on myArray(x,y,, where : is all z values. example: cell(x,y) = sum(myArray(x,y,). I know I can do this with a (triple) loop, but I was wondering if there was an easier way to do this, since I know you can with 1-dimensional arrays

Thanks