Re: A thought concerning matrix index variables...

2000-08-30 Thread Jeremy Howard
Buddha Buck wrote: > RFC 169 says it would be nice if: > >@a[^i;^j] = @b[^j;^i]; > > did a transpose operation. > > Should the syntax also allow: > ># fill a 10x10 array with 0-99 >my @table: bounds(10,10); >@table[^i;^j] = ^i*10 + ^j; > I think it should--it seems a natural e

A thought concerning matrix index variables...

2000-08-30 Thread Buddha Buck
RFC 169 says it would be nice if: @a[^i;^j] = @b[^j;^i]; did a transpose operation. Should the syntax also allow: # fill a 10x10 array with 0-99 my @table: bounds(10,10); @table[^i;^j] = ^i*10 + ^j;