Initializerswift 6.0.1Swift
init(_:_:_:_:_:_:_:_:)
Creates a new vector from the given elements.
init(_ v0: Scalar, _ v1: Scalar, _ v2: Scalar, _ v3: Scalar, _ v4: Scalar, _ v5: Scalar, _ v6: Scalar, _ v7: Scalar)
Other members in extension
Typealiases
Type members
init(
) init(lowHalf: SIMD4<Scalar>, highHalf: SIMD4<Scalar>
) Creates a new vector from two half-length vectors.
Instance members
var evenHalf: SIMD4<Scalar>
A half-length vector made up of the even elements of the vector.
var highHalf: SIMD4<Scalar>
A half-length vector made up of the high elements of the vector.
var lowHalf: SIMD4<Scalar>
A half-length vector made up of the low elements of the vector.
var oddHalf: SIMD4<Scalar>
A half-length vector made up of the odd elements of the vector.
var scalarCount: Int
The number of scalars in the vector.
subscript(Int
) -> Scalar Accesses the scalar at the specified position.