Modulefpreviousupnextcontentsindex[BIG][Normal][small]
Next: 3.5 Double precision real problems Up: 3 Dynamic arrays Prev: 3.3 Dynamic arrays management utilities Index Contents


3.4 Programming with dynamic arrays

   

The utility READRE returns an address, IATAB, such that M(IATAB) is the first element in the dynamic array. There exist a priori two solutions to utilize this array:

  1. Pass M(IATAB) as a parameter to a subroutine inside which the array is used in the classical way (see MODUL1 in section 3.1).
  2. Use this array directly by calculating the indices in the super-array (see MODUL2 in section 3.1 and "double precision real problems" in section 3.5).

The first solution is recommended even though it necessitates a call to a sub-program, because:


Modulefpreviousupnextcontentsindex[BIG][Normal][small]
Next: 3.5 Double precision real problems Up: 3 Dynamic arrays Prev: 3.3 Dynamic arrays management utilities Index Contents