Structureswift 6.0.1Swift
SIMDMask
@frozen struct SIMDMask<Storage> where Storage : SIMD, Storage.Scalar : FixedWidthInteger, Storage.Scalar : SignedInteger
Citizens in Swift
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol ExpressibleByArrayLiteral
A type that can be initialized using an array literal.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol SIMD<Scalar>
A SIMD vector of a fixed number of elements.
protocol SIMDStorage
A type that can function as storage for a SIMD vector type.
Typealiases
Type members
Instance members
Type features
init<S>(S
) Creates a vector from the given sequence.
init(arrayLiteral: Self.Scalar...
) Creates a vector from the specified elements.
init(from: any Decoder
) throws Creates a new vector by decoding scalars from the given decoder.
init(repeating: Self.Scalar
) A vector with the specified value in all lanes.
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
static func .!= (a: Self.Scalar, b: Self
) -> SIMDMask<Self.MaskStorage> Returns a vector mask with the result of a pointwise inequality comparison.
static func .!= (a: Self, b: Self.Scalar
) -> SIMDMask<Self.MaskStorage> Returns a vector mask with the result of a pointwise inequality comparison.
static func .!= (a: Self, b: Self
) -> SIMDMask<Self.MaskStorage> A vector mask with the result of a pointwise inequality comparison.
static func .== (a: Self.Scalar, b: Self
) -> SIMDMask<Self.MaskStorage> Returns a vector mask with the result of a pointwise equality comparison.
static func .== (a: Self, b: Self.Scalar
) -> SIMDMask<Self.MaskStorage> Returns a vector mask with the result of a pointwise equality comparison.
static func .== (a: Self, b: Self
) -> SIMDMask<Self.MaskStorage> A vector mask with the result of a pointwise equality comparison.
static func == (a: Self, b: Self
) -> Bool Returns a Boolean value indicating whether two vectors are equal.
Instance features
var description: String
A textual description of the vector.
var indices: Range<Int>
The valid indices for subscripting the vector.
func encode(to: any Encoder
) throws Encodes the scalars of this vector into the given encoder in an unkeyed container.
func hash(into: inout Hasher
) Hashes the elements of the vector using the given hasher.
func replace(with: Self.Scalar, where: SIMDMask<Self.MaskStorage>
) Replaces elements of this vector with
other
in the lanes wheremask
istrue
.func replace(with: Self, where: SIMDMask<Self.MaskStorage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: Self.Scalar, where: SIMDMask<Self.MaskStorage>
) -> Self Returns a copy of this vector, with elements
other
in the lanes wheremask
istrue
.func replacing(with: Self, where: SIMDMask<Self.MaskStorage>
) -> Self Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage:SIMD, Storage:Sendable, Storage.Scalar:SignedInteger, Storage.Scalar:FixedWidthInteger
Conformances
Citizens in Swift
where Storage:SIMD, Storage.Scalar:SignedInteger, Storage.Scalar:FixedWidthInteger
Type members
static func random(
) -> SIMDMask<Storage> Returns a vector mask with
true
orfalse
randomly assigned in each lane.static func random<T>(using: inout T
) -> SIMDMask<Storage> Returns a vector mask with
true
orfalse
randomly assigned in each lane, using the given generator as a source for randomness.static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
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 ofa
andb
.static func .&= (a: inout SIMDMask<Storage>, b: Bool
) Replaces
a
with the pointwise logical conjunction ofa
andb
.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 ofa
andb
.static func .^= (a: inout SIMDMask<Storage>, b: Bool
) Replaces
a
with the pointwise exclusive or ofa
andb
.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 ofa
andb
.static func .|= (a: inout SIMDMask<Storage>, b: Bool
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Citizens in Swift
where Storage == SIMD2<Int16>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD2<Int32>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD2<Int64>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD2<Int8>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD2<Int>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD3<Int16>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD3<Int32>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD3<Int64>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD3<Int8>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD3<Int>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD4<Int16>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD4<Int32>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD4<Int64>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD4<Int8>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD4<Int>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD8<Int16>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD8<Int32>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD8<Int64>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD8<Int8>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD8<Int>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD16<Int16>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD16<Int32>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD16<Int64>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD16<Int8>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD16<Int>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD32<Int16>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD32<Int32>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD32<Int64>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD32<Int8>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD32<Int>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD64<Int16>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD64<Int32>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD64<Int64>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD64<Int8>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.
Citizens in Swift
where Storage == SIMD64<Int>
Type members
static func .! (a: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical conjunction ofa
andb
.static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>
) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise exclusive or ofa
andb
.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: inout SIMDMask<Storage>, b: SIMDMask<Storage>
) Replaces
a
with the pointwise logical disjunction ofa
andb
.
Instance members
func replace(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) Replaces elements of this vector with elements of
other
in the lanes wheremask
istrue
.func replacing(with: SIMDMask<Storage>, where: SIMDMask<Storage>
) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of
other
in the lanes wheremask
istrue
.