Structure

Double.SIMD4Storage

Storage for a vector of four floating-point values.

Declaration

@frozen @_alignment(16) struct SIMD4Storage

Topics

Type Aliases

typealias Double.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) -> Double

Accesses the element at the specified index.

Relationships

From Protocol

See Also

SIMD-Supporting Types

struct Double.SIMD2Storage

Storage for a vector of two floating-point values.

struct Double.SIMD8Storage

Storage for a vector of eight floating-point values.

struct Double.SIMD16Storage

Storage for a vector of 16 floating-point values.

struct Double.SIMD32Storage

Storage for a vector of 32 floating-point values.

struct Double.SIMD64Storage

Storage for a vector of 64 floating-point values.