Basic HTML version of Foils prepared Sept 20 97

Foil 19 Data Structures
Arrays of Arrays in Perl5 - II

From Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 -- Sept 20 97. by Geoffrey C. Fox,Nancy McCracken,Tom Scavo


1 We can also define $indexed2Dhash[$x][$y]{$z} which should be thought of as a hash labelled by two-dimensional indices
2 $hashof2Darray{$x}[$y][$z] should be thought of as a hash whose value is a 2D array
3 One can freely use such data structures as long as you use "full" number of indices
4 Issues that require understanding of implementation occur when you need to manipulate structure "as a whole" with less than full number of indices

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998