Operatorswift 6.1.2Swift
^=(_:_:)
static func ^= (a: inout Self, b: Self) static func ^= (a: inout Self, b: Self) ss4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ What are these?9YQBLwhere Self.Scalar:FixedWidthIntegerimport Swiftprotocol SIMD<Scalar> : CustomStringConvertible, Decodable, Encodable, ExpressibleByArrayLiteral, Hashable, SIMDStorageA SIMD vector of a fixed number of elements.
protocol FixedWidthInteger : BinaryInteger, LosslessStringConvertible where Self.Magnitude : FixedWidthInteger, Self.Magnitude : UnsignedInteger, Self.Stride : FixedWidthInteger, Self.Stride : SignedIntegerAn integer type that uses a fixed size for every instance.
static var one: Self { get }A vector with one in all lanes.
static var zero: Self { get }A vector with zero in all lanes.
static func random(in range: ClosedRange<Self.Scalar>) -> Self Returns a vector with random values from within the specified range in all lanes.
static func random(in range: Range<Self.Scalar>) -> Self Returns a vector with random values from within the specified range in all lanes.
static func random<T>(in range: ClosedRange<Self.Scalar>, using generator: inout T) -> Self where T : RandomNumberGenerator Returns a vector with random values from within the specified range in all lanes, using the given generator as a source for randomness.
static func random<T>(in range: Range<Self.Scalar>, using generator: inout T) -> Self where T : RandomNumberGenerator Returns a vector with random values from within the specified range in all lanes, using the given generator as a source for randomness.
var leadingZeroBitCount: Self { get }var nonzeroBitCount: Self { get }var trailingZeroBitCount: Self { get }static func % (a: Self.Scalar, b: Self) -> Self static func % (a: Self, b: Self.Scalar) -> Self static func % (a: Self, b: Self) -> Self static func %= (a: inout Self, b: Self.Scalar) static func %= (a: inout Self, b: Self) static func & (a: Self.Scalar, b: Self) -> Self static func & (a: Self, b: Self.Scalar) -> Self static func & (a: Self, b: Self) -> Self static func &* (a: Self.Scalar, b: Self) -> Self static func &* (a: Self, b: Self.Scalar) -> Self static func &* (a: Self, b: Self) -> Self static func &*= (a: inout Self, b: Self.Scalar) static func &*= (a: inout Self, b: Self) static func &+ (a: Self.Scalar, b: Self) -> Self static func &+ (a: Self, b: Self.Scalar) -> Self static func &+ (a: Self, b: Self) -> Self static func &+= (a: inout Self, b: Self.Scalar) static func &+= (a: inout Self, b: Self) static func &- (a: Self.Scalar, b: Self) -> Self static func &- (a: Self, b: Self.Scalar) -> Self static func &- (a: Self, b: Self) -> Self static func &-= (a: inout Self, b: Self.Scalar) static func &-= (a: inout Self, b: Self) static func &<< (a: Self.Scalar, b: Self) -> Self static func &<< (a: Self, b: Self.Scalar) -> Self static func &<< (a: Self, b: Self) -> Self static func &<<= (a: inout Self, b: Self.Scalar) static func &<<= (a: inout Self, b: Self) static func &= (a: inout Self, b: Self.Scalar) static func &= (a: inout Self, b: Self) static func &>> (a: Self.Scalar, b: Self) -> Self static func &>> (a: Self, b: Self.Scalar) -> Self static func &>> (a: Self, b: Self) -> Self static func &>>= (a: inout Self, b: Self.Scalar) static func &>>= (a: inout Self, b: Self) static func / (a: Self.Scalar, b: Self) -> Self static func / (a: Self, b: Self.Scalar) -> Self static func / (a: Self, b: Self) -> Self static func /= (a: inout Self, b: Self.Scalar) static func /= (a: inout Self, b: Self) static func ^ (a: Self.Scalar, b: Self) -> Self static func ^ (a: Self, b: Self.Scalar) -> Self static func ^ (a: Self, b: Self) -> Self static func ^= (a: inout Self, b: Self.Scalar) static func | (a: Self.Scalar, b: Self) -> Self static func | (a: Self, b: Self.Scalar) -> Self static func | (a: Self, b: Self) -> Self static func |= (a: inout Self, b: Self.Scalar) static func |= (a: inout Self, b: Self) static func ~ (a: Self) -> Self func wrappedSum() -> Self.Scalar Returns the sum of the scalars in the vector, computed with wrapping addition.