Conversation started Jun 24, 2012 at 12:44.
Jun 24, 2012 12:44
@KonradRudolph i thought that flatten means that if you have an array inside an array, the array is "lifted up" into the outer array so the elements of the first array are not part of the second array
Ell
Ell
getting the shopping in, afk :)
@JohannesSchaublitb Yes. Multiple dimensions are not arrays inside arrays though
@KonradRudolph ohh
Well, they kind of are in C, where you simulate multiple dimensions with nested arrays
but that’s only because C doesn’t actually support multiple dimension arrays
Jun 24, 2012 12:45
i always thought that'S the canonical CS definition
i.e. you have x[3][4], but you don’t have x[3, 4]
In computer programming, an Iliffe vector, also known as a display, is a data structure used to implement multi-dimensional arrays. An Iliffe vector for an n-dimensional array (where n > 2) consists of a vector (or 1-dimensional array) of pointers to an (n − 1)-dimensional array. They are often used to avoid the need for expensive multiplication operations when performing address calculation on an array element. They can also be used to implement triangular arrays, or other kinds of irregularly shaped arrays. The data structure is named after John K. Iliffe, Their di...
 
Conversation ended Jun 24, 2012 at 12:45.