1 // Check if array == refArray
2 void compareArray(const char* ID
, const void* array
, const void* refArray
, int size
, int isInteger
);
4 void compareArray_real(const char* ID
, const void* array
, const void* refArray
, int size
);
6 void compareArray_int(const char* ID
, const void* array
, const void* refArray
, int size
);
8 // Read array by columns (as in MATLAB) and return by-rows encoding
9 void* readArray(const char* fileName
, int isInteger
);
11 int* readArray_int(const char* fileName
);
13 float* readArray_real(const char* fileName
);
15 int read_int(const char* fileName
);
17 float read_real(const char* fileName
);