Storage for a vector of four floating-point values.
SDK
- Xcode 10.2+
Framework
- Swift Standard Library
Declaration
@frozen @_alignment(16) struct SIMD4Storage
Storage for a vector of four floating-point values.
SDK
Framework
@frozen @_alignment(16) struct SIMD4Storage
typealias Double.SIMD4Storage.Scalar
The type of scalars in the vector space.
init()
Creates a vector with zero in all lanes.
var scalarCount : Int
The number of scalars, or elements, in the vector.
static var scalarCount : Int
The number of scalars, or elements, in a vector of this type.
subscript(Int) -> Double
Accesses the element at the specified index.
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.