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 | 21681 reads
|
Browse archivesActive forum topics |
Recent comments
5 days 11 hours ago
1 week 3 days ago
1 week 4 days ago
1 week 4 days ago
2 weeks 2 days ago
2 weeks 5 days ago
2 weeks 5 days ago
2 weeks 5 days ago
4 weeks 18 hours ago
4 weeks 2 days ago