Required Instance Propertyswift 6.0.3Swift
scalarCount
The number of scalars, or elements, in the vector.
var scalarCount: Int { get }
The number of scalars, or elements, in the vector.
var scalarCount: Int { get }
import Swift
protocol SIMDStorage
A type that can function as storage for a SIMD vector type.
@frozen struct Int
A signed integer value type.
associatedtype Scalar : Decodable, Encodable, Hashable
init()
Creates a vector with zero in all lanes.
subscript(index: Int) -> Self.Scalar { get set }
Accesses the element at the specified index.
static var scalarCount: Int { get }
The number of scalars, or elements, in a vector of this type.