Instance Method

replacing(with:where:)

Returns a copy of this vector, with elements other in the lanes where mask is true.

Declaration

func replacing(with other: Scalar, where mask: SIMDMask<SIMD4<Scalar.SIMDMaskScalar>>) -> SIMD4<Scalar>