Copy Input parameters: M - number of rows N - number of columns A - source matrix, MxN submatrix is copied and transposed IA - submatrix offset (row index) JA - submatrix offset (column index) B - destination matrix IB - submatrix offset (row index) JB - submatrix offset (column index) ****************************************************
| 366 | JB - submatrix offset (column index) |
| 367 | *************************************************************************/ |
| 368 | void cmatrixcopy(int m, |
| 369 | int n, |
| 370 | const ap::complex_2d_array& a, |
| 371 | int ia, |
| 372 | int ja, |
| 373 | ap::complex_2d_array& b, |
| 374 | int ib, |
| 375 | int jb) |
| 376 | { |
| 377 | int i; |
| 378 | |
| 379 | for(i = 0; i <= m-1; i++) |
| 380 | { |
| 381 | ap::vmove(&b(ib+i, jb), 1, &a(ia+i, ja), 1, "N", ap::vlen(jb,jb+n-1)); |
| 382 | } |
| 383 | } |
| 384 | |
| 385 | |
| 386 | /************************************************************************* |
no test coverage detected