Determine the index offset which specifies the location of the first indexed value in a multidimensional array based on a stride array.