Access individual elements or select elements using an index vector.
More...
Access individual elements or select elements using an index vector.
- See also
- https://eel.is/c++draft/simd.subscr
◆ operator[]() [1/2]
template<typename _Tp, typename _Abi>
Select vector elements using an integral index vector.
- Parameters
-
| indexes | The indexes by which to permute. |
- Returns
- The selected elements, with the same element count as indexes.
◆ operator[]() [2/2]
template<typename _Tp, typename _Abi>
Access the element at the specified position.
- Parameters
-
| pos | The element index, which must be less than size() and non-negative. |