Structure

Int.SIMD4Storage

Storage for a vector of four integers.

Declaration

@frozen @_alignment(16) struct SIMD4Storage

Topics

Type Aliases

typealias Int.SIMD4Storage.Scalar

The type of scalars in the vector space.

Initializers

init()

Creates a vector with zero in all lanes.

Instance Properties

var scalarCount: Int

The number of scalars, or elements, in the vector.

Type Properties

static var scalarCount: Int

The number of scalars, or elements, in a vector of this type.

Subscripts

subscript(Int) -> Int

Accesses the element at the specified index.

Relationships

From Protocol

See Also

SIMD-Supporting Types

struct Int.SIMD2Storage

Storage for a vector of two integers.

struct Int.SIMD8Storage

Storage for a vector of eight integers.

struct Int.SIMD16Storage

Storage for a vector of 16 integers.

struct Int.SIMD32Storage

Storage for a vector of 32 integers.

struct Int.SIMD64Storage

Storage for a vector of 64 integers.