Compilation Methods SS 2009 - Slide 305
Objectives:
Understand implementation variant
In the lecture:
Aspects of this implementation variant are explained:
- Give an example for a 3-dimensional array.
- Explain the index function.
- Explain the index function with constant terms extracted.
- Compare the two array implementation variants:
- Allocation in one chunk,
- orthogonal arrays only,
- storage only for data elements,
- efficient direct addressing.
- FORTRAN: column major order!
Suggested reading:
GdP slides on data types
Questions:
- What information is needed in an array descriptor for a dynamically allocated multi-dimensional array?
©2009 Prof. Dr. Uwe Kastens
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 30.03.2009