Update 3.1 Code basics authored by Udo Ziegler's avatar Udo Ziegler
......@@ -138,8 +138,8 @@ apply these functionality the code fragment
/* ARRAY ALLOCATION */
v=Arrayi(nx);
A2=Array2(nx,ny);
A3=Array3(nx,ny,nz);
A2=Array2(ny,nx);
A3=Array3(nz,ny,nx);
...
......@@ -163,8 +163,7 @@ for instance, creates
and subsequently deallocates them.
*Note 1: The array index ordering is inverse to the argument list in the
array allocation functions.*
*Note 1: In multi-d arrays the index ordering is inverse.*
*Note 2: Allocation of an array must always be followed by its
deallocation when it is no longer used in order to free memory
......
......