Extracts the scalars at specified indices to form a SIMD8.
SDK
- Xcode 11.0+
Framework
- Swift Standard Library
Declaration
subscript<Index>(index: SIMD8<Index>) -> SIMD8<Scalar> where Index : Fixed Width Integer, Index : SIMDScalar, Self.Scalar : SIMDScalar { get }
Discussion
The elements of the index vector are wrapped modulo the count of elements in this vector. Because of this, the index is always in-range and no trap can occur.