| 570 | |
| 571 | |
| 572 | stringmatr getMatrixOfQcompStrings(qcompmatr in) { |
| 573 | |
| 574 | if (in.empty()) |
| 575 | return stringmatr(0); |
| 576 | |
| 577 | size_t numRows = in.size(); |
| 578 | size_t numCols = in[0].size(); |
| 579 | stringmatr out(numRows, vector<string>(numCols)); |
| 580 | |
| 581 | for (size_t r=0; r<numRows; r++) |
| 582 | for (size_t c=0; c<numCols; c++) |
| 583 | out[r][c] = toStr(in[r][c]); |
| 584 | |
| 585 | return out; |
| 586 | } |
| 587 | |
| 588 | |
| 589 |
no test coverage detected