| 22 | } |
| 23 | |
| 24 | void copy(array &dst, const array &src, const index &idx0, const index &idx1, |
| 25 | const index &idx2, const index &idx3) { |
| 26 | unsigned nd = dst.numdims(); |
| 27 | |
| 28 | af_index_t indices[] = {idx0.get(), idx1.get(), idx2.get(), idx3.get()}; |
| 29 | |
| 30 | af_array lhs = dst.get(); |
| 31 | const af_array rhs = src.get(); |
| 32 | AF_THROW(af_assign_gen(&lhs, lhs, nd, indices, rhs)); |
| 33 | } |
| 34 | |
| 35 | index::index() : impl{} { |
| 36 | impl.idx.seq = af_span; |
no test coverage detected