| User loginNavigation | multidimensional arraysSomeone on comp.lang.python remarked It is just funny how easy horizontal slicing is made (list[:]) but how "difficult" vertical slicing is. It is a common task and one does not realize how often one does need vertical slicing. eg.: getting the keys of dictionary is a vertical slicing, or turning a list into a dict involves vertical slicing... Just out of pure curiosity: Is there a langue that allows vertical and horizontal slicing and dicing with the same built-in pattern? The basic problem is, of course, that multidimensional arrays are implemented as arrays of arrays, but that made me wonder in turn - which languages have true multidimensional arrays? (i.e., arrays in which every dimension is treated as equivalent) By Martin DeMello at 2004-08-27 18:01 | LtU Forum | previous forum topic | next forum topic | other blogs | 22661 reads | Browse archives
 Active forum topics | 
Recent comments
2 days 15 hours ago
2 days 15 hours ago
2 days 15 hours ago
3 weeks 3 days ago
4 weeks 1 day ago
4 weeks 1 day ago
4 weeks 3 days ago
4 weeks 3 days ago
4 weeks 3 days ago
4 weeks 6 days ago