Instance Methodswift 6.0.1Swift

    replace(with:where:)

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

    mutating func replace(with other: SIMDMask<Storage>, where mask: SIMDMask<Storage>)

    Equivalent to:

    for i in indices {
      if mask[i] { self[i] = other[i] }
    }

    Other members in extension

    Type members

    Instance members