* debugging purpose, print the array content, one row per tuple. */
| 64 | * debugging purpose, print the array content, one row per tuple. |
| 65 | */ |
| 66 | void printArray(const std::vector<float>& vec) |
| 67 | { |
| 68 | for (int tupleIdx = 0; tupleIdx < buffer::nbOfTuples; tupleIdx++) |
| 69 | { |
| 70 | for (int arrayIdx = 0; arrayIdx < buffer::nbOfArrays; arrayIdx++) |
| 71 | { |
| 72 | std::cout << vec[tupleIdx * buffer::nbOfArrays + arrayIdx] << " "; |
| 73 | } |
| 74 | std::cout << "\n"; |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /** |
no outgoing calls
no test coverage detected