.!(_:)
A vector mask that is the pointwise logical negation of the input.
static func .! (a: SIMDMask<Storage>) -> SIMDMask<Storage> Equivalent to:
var result = SIMDMask<${Vector}>()
for i in result.indices {
result[i] = !a[i]
}A vector mask that is the pointwise logical negation of the input.
static func .! (a: SIMDMask<Storage>) -> SIMDMask<Storage> where Storage:SIMD, Storage.Scalar:SignedInteger, Storage.Scalar:FixedWidthIntegerEquivalent to:
var result = SIMDMask<${Vector}>()
for i in result.indices {
result[i] = !a[i]
}import Swift@frozen struct SIMDMask<Storage> where Storage : SIMD, Storage.Scalar : FixedWidthInteger, Storage.Scalar : SignedIntegerprotocol SIMD<Scalar> : CustomStringConvertible, Decodable, Encodable, ExpressibleByArrayLiteral, Hashable, SIMDStorageA SIMD vector of a fixed number of elements.
protocol SignedInteger : BinaryInteger, SignedNumericAn integer type that can represent both positive and negative values.
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 func random() -> SIMDMask<Storage> Returns a vector mask with true or false randomly assigned in each lane.
static func random<T>(using generator: inout T) -> SIMDMask<Storage> where T : RandomNumberGenerator Returns a vector mask with true or false randomly assigned in each lane, using the given generator as a source for randomness.
static func .& (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise logical conjunction of the inputs.
static func .& (a: SIMDMask<Storage>, b: Bool) -> SIMDMask<Storage> A vector mask that is the pointwise logical conjunction of the inputs.
static func .& (a: Bool, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise logical conjunction of the inputs.
static func .&= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>) Replaces a with the pointwise logical conjunction of a and b.
static func .&= (a: inout SIMDMask<Storage>, b: Bool) Replaces a with the pointwise logical conjunction of a and b.
static func .^ (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise exclusive or of the inputs.
static func .^ (a: SIMDMask<Storage>, b: Bool) -> SIMDMask<Storage> A vector mask that is the pointwise exclusive or of the inputs.
static func .^ (a: Bool, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise exclusive or of the inputs.
static func .^= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>) Replaces a with the pointwise exclusive or of a and b.
static func .^= (a: inout SIMDMask<Storage>, b: Bool) Replaces a with the pointwise exclusive or of a and b.
static func .| (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise logical disjunction of the inputs.
static func .| (a: SIMDMask<Storage>, b: Bool) -> SIMDMask<Storage> A vector mask that is the pointwise logical disjunction of the inputs.
static func .| (a: Bool, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise logical disjunction of the inputs.
static func .|= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>) Replaces a with the pointwise logical disjunction of a and b.
static func .|= (a: inout SIMDMask<Storage>, b: Bool) Replaces a with the pointwise logical disjunction of a and b.