I have an array of values in a 3-D array, stored as [x,y,z]. A 3-D array is useful for the previous function, but in the current function, I would like z series' of [x,y] arrays. Is this possible? The array I have is input[x,y,z]
, and I would like it to be redone into 2-D arrays. x and y are the values for the 2-D array.
var dict = new Dictionary<int, double[,]>();
for (int files = 0; files < input.GetLength(2); files++)
{
dict[files] = input[x,y,files]
}