| 55 | } |
| 56 | |
| 57 | void sparseGetInfo( |
| 58 | array& values, array& rowIdx, array& colIdx, storage& stype, |
| 59 | const array in) { // NOLINT(performance-unnecessary-value-param) |
| 60 | af_array values_ = 0, rowIdx_ = 0, colIdx_ = 0; |
| 61 | af_storage stype_ = AF_STORAGE_DENSE; |
| 62 | AF_THROW( |
| 63 | af_sparse_get_info(&values_, &rowIdx_, &colIdx_, &stype_, in.get())); |
| 64 | values = array(values_); |
| 65 | rowIdx = array(rowIdx_); |
| 66 | colIdx = array(colIdx_); |
| 67 | stype = stype_; |
| 68 | } |
| 69 | |
| 70 | // NOLINTNEXTLINE(performance-unnecessary-value-param) |
| 71 | array sparseGetValues(const array in) { |
no test coverage detected