Discussion 解説
Equivalent to: 次に等しい:
for i in indices {
if mask[i] { self[i] = other }
}
other
in the lanes where mask
is true
.
このベクターの要素を、mask
がtrue
であるところの、レーンの中のother
で置き換えます
Availability
Technology
mutating func replace(with other: Self.Scalar
, where mask: SIMDMask
<Self.MaskStorage
>)
Equivalent to: 次に等しい:
for i in indices {
if mask[i] { self[i] = other }
}