Generic Subscript

subscript(_:)

Extracts the scalars at specified indices to form a SIMD32. 形式SIMD32への指定インデックスそれらでのスカラーを抽出します。

Declaration 宣言

subscript<Index>(index: SIMD32<Index>) -> SIMD32<Self.Scalar> where Index : FixedWidthInteger, 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. インデックスベクターの要素は、このベクターの中の要素の数によるモジュロでラップされます。このために、インデックスは常に範囲内です、そしてトラップは起こりえません。

See Also 参照

SIMD Implementations SIMD実装