I am trying to calculate the average of an array. I cannot figure out why I am getting this error.
error: request for member 'Sum' in 'pixels', which is of non-class type 'float [64]'
error: request for member 'Length' in 'pixels', which is of non-class type 'float [64]'
int sum = pixels.Sum;
int AVGTEMP = sum / pixels.Length;