Basic HTML version of Foils prepared April 16,1996

Foil 19 Data Structures, Arrays of Arrays in Perl5 -II

From Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 Material -- April 16,1996. by Geoffrey C. Fox


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



© 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 Sat Sep 6 1997