Commit | Line | Data |
---|---|---|
2d22ed81 BA |
1 | // Check if array == refArray |
2 | void compareArray(const char* ID, const void* array, const void* refArray, int size, int isInteger); | |
3 | ||
4 | void compareArray_real(const char* ID, const void* array, const void* refArray, int size); | |
5 | ||
6 | void compareArray_int(const char* ID, const void* array, const void* refArray, int size); | |
7 | ||
8 | // Read array by columns (as in MATLAB) and return by-rows encoding | |
9 | void* readArray(const char* fileName, int isInteger); | |
10 | ||
11 | int* readArray_int(const char* fileName); | |
12 | ||
c3bc4705 | 13 | Real* readArray_real(const char* fileName); |
2d22ed81 BA |
14 | |
15 | int read_int(const char* fileName); | |
16 | ||
c3bc4705 | 17 | Real read_real(const char* fileName); |