Resizes the array to contain "num" elements. If "num" is smaller than the maximum array size, the content is reduced to its first "num" elements, * "num" elements can't be bigger than the maximum number of values which can be stored in this array. * * @param[in] num The new array size in number of elements */
| 124 | * @param[in] num The new array size in number of elements |
| 125 | */ |
| 126 | void resize(size_t num) |
| 127 | { |
| 128 | ARM_COMPUTE_ERROR_ON(num > max_num_values()); |
| 129 | _num_values = num; |
| 130 | }; |
| 131 | |
| 132 | private: |
| 133 | size_t _num_values; |
no outgoing calls
no test coverage detected