10.07.2015 Views

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Implementation of Arrays• Two layout strategies:1. contiguous locations.2. row pointers.1. Contiguous locations:– Column major order (by columns) – used in Fortran.– Row major order (by rows) – used in most languages.– Sequential access to matrix elements will be faster if they areaccessed in the order in which they are stored:• Why?Lecture 0620

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!