Instance Method

replace(with:where:)

Replaces elements of this vector with elements of other in the lanes where mask is true.

Declaration

mutating func replace(with other: SIMD2<Scalar>, where mask: SIMDMask<SIMD2<Scalar.SIMDMaskScalar>>)