<X-posted to [EMAIL PROTECTED]> David L. Nicol wrote: > If arrays as we know them implement by using a key space restricted to > integers, I think a reasonable way to get matrices would be to open > up their key space to lists of integers. > I've been thinking along exactly the same lines. There's a lot of language issues to consider to get this to work consistently, such as interaction with reduce(), notation for slices across a dimension (and generalised slices such as diagonals), and so forth. I'm thinking that a n-dim array could just be a list of lists (of lists of lists of...) with the n-dim notation just being syntactic sugar (and perhaps helping with optimisation too). BTW, these kinds of issues are well suited to the perl6-language-data list: mailto:[EMAIL PROTECTED] I suggest that we cover some 'internals' on that list as well as 'language', since implementation efficiency is so fundamental in this area.
- Re: Some PDL issues (was Re: Test) Nathan Torkington
- Re: Some PDL issues (was Re: Test) Dan Sugalski
- Re: Some PDL issues (was Re: Test) Nathan Torkington
- Re: Some PDL issues (was Re: Test) Dan Sugalski
- Re: Some PDL issues (was Re: Test) Nathan Torkington
- Re: Some PDL issues (was Re: Test) Dan Sugalski
- Re: Some PDL issues (was Re: T... c . soeller
- Re: Some PDL issues (was Re: T... Dan Sugalski
- Re: Some PDL issues (was Re: Test) c . soeller
- multidim. containers David L. Nicol
- Re: multidim. containers Jeremy Howard
- Re: multidim. containers Dan Sugalski
- Re: multidim. containers John Porter
- Re: multidim. containers Christian Soeller
- Re: multidim. containers Dan Sugalski
- Re: Some PDL issues (was Re: Test) Tom Christiansen
- Re: Some PDL issues (was Re: Test) Nathan Torkington
- Re: Some PDL issues (was Re: Test) Tom Christiansen
- Re: Some PDL issues (was Re: Test) Karl Glazebrook
- Re: Some PDL issues (was Re: Test) c . soeller