Operatorswift 6.0.1Swift
|=(_:_:)
static func |= (a: inout Self, b: Self.Scalar)
static func |= (a: inout Self, b: Self.Scalar)
ss4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ
What are these?7Q26H
where Self.Scalar:FixedWidthInteger
import Swift
protocol SIMD<Scalar> : CustomStringConvertible, Decodable, Encodable, ExpressibleByArrayLiteral, Hashable, SIMDStorage
A SIMD vector of a fixed number of elements.
associatedtype Scalar : Decodable, Encodable, Hashable
protocol FixedWidthInteger : BinaryInteger, LosslessStringConvertible where Self.Magnitude : FixedWidthInteger, Self.Magnitude : UnsignedInteger, Self.Stride : FixedWidthInteger, Self.Stride : SignedInteger
An 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: 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)
static func ~ (a: Self) -> Self
func wrappedSum() -> Self.Scalar
Returns the sum of the scalars in the vector, computed with wrapping addition.