// // This file is part of the Bones source-to-source compiler examples. This C-code // example is meant to illustrate the use of Bones. For more information on Bones // use the contact information below. // // == More information on Bones // Contact............Cedric Nugteren // Web address........http://parse.ele.tue.nl/bones/ // // == File information // Filename...........element/example03.c // Author.............Cedric Nugteren // Last modified on...10-October-2014 // #include #define N1 2 #define N2 4 #define N3 8 #define N4 16 // This is 'example03', demonstrating a 4D array and defines for array sizes int main(void) { int i,j,k,l; // Declare input/output arrays int A[N1][N2][N3][N4]; int B[N1][N2][N3][N4]; // Set the input data for(i=0;i B[0:N1-1,0:N2-1,0:N3-1,0:N4-1]|element for(i=0;i