Vector<T>.Set Values(T, Vector<Boolean>) Method
Sets the elements of a vector that match the specified condition
to the specified value.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A Vector<T> that contains the elements in this instance for which the corresponding element in mask is true.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public virtual Vector<T> SetValues(
T value,
Vector<bool> mask
)
Parameters
- value T
- The value to be assigned to the matching elements.
- mask Vector<Boolean>
- A boolean vector that specifies the elements to select.
Field Value
Vector<T>A Vector<T> that contains the elements in this instance for which the corresponding element in mask is true.