Looks like if we give the data type control over what the meaning of square brackets after it is, the rest becomes example code. I think this s covered in the horribly misnamed http://dev.perl.org/rfc/115.pod which covers overloading bracketing. @reshaped = reshape $x, $y, $i, @array [, @array ...] > =head2 Matrix Calculations and Extensions > > It is the opinion of the author that extensive matrix calculations and > manipulations be left to external modules. A function such as this > should be able to take care of most of the basic funcionality needed to > create N-dimensional matrices. However, true matrix functions should be > put in modules. -- David Nicol 816.235.1187 [EMAIL PROTECTED] safety first: Republicans for Nader in 2000
- RFC 148 (v1) Add reshape() for multi-dimensional array... Perl6 RFC Librarian
- Re: RFC 148 (v1) Add reshape() for multi-dimensio... Karl Glazebrook
- Re: RFC 148 (v1) Add reshape() for multi-dime... Nathan Wiger
- Re: RFC 148 (v1) Add reshape() for multi-... Karl Glazebrook
- Re: RFC 148 (v1) Add reshape() for mu... Nathan Wiger
- Re: RFC 148 (v1) Add reshape() f... Ariel Scolnicov
- Re: RFC 148 (v1) Add reshape() f... Daniel Chetlin
- Re: RFC 148 (v1) Add reshape... Karl Glazebrook
- Re: RFC 148 (v1) Add res... Christian Soeller
- Re: RFC 148 (v1) Add res... Karl Glazebrook
- Re: RFC 148 (v1) Add reshape() for multi-dimensio... David L. Nicol
- Re: RFC 148 (v1) Add reshape() for multi-dime... c . soeller
- Re: RFC 148 (v1) Add reshape() for multi-dime... Nathan Torkington