Sets the elements of a vector that match the specified condition
to the specified value.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual Vector<T> SetValues(
T value,
Vector<bool> mask
)
Public Overridable Function SetValues (
value As T,
mask As Vector(Of Boolean)
) As Vector(Of T)
public:
virtual Vector<T>^ SetValues(
T value,
Vector<bool>^ mask
)
abstract SetValues :
value : 'T *
mask : Vector<bool> -> Vector<'T>
override SetValues :
value : 'T *
mask : Vector<bool> -> Vector<'T>
Parameters
- value
- Type: T
The value to be assigned to the matching elements. - mask
- Type: Extreme.MathematicsVectorBoolean
A boolean vector that specifies the elements to select.
Field Value
Type:
VectorTA
VectorT that contains the elements in this instance
for which the corresponding element in
mask is
.
Reference