Re: a syntax derived from constant-time hash-based n-dim matrices in perl 5
[email protected] (Nathan Wiger) Thu, 31 Aug 2000 15:27:43 -0700
| Newsgroups | perl.perl6.language.data |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
"David L. Nicol" wrote: > > @a["$i $j $k","$a $y $z"] # two points in DN n-dim syntax One problem that immediately jumps out at me is how to do this: @a[[@x], [@y]]; That is, dynamically get your indices. The above seems ok when you know them in advance (at least what variables they're in), but this usually isn't the case with hardcore matrix manipulation. Having a fixed number of named indices isn't the norm. -Nate