Returns the elements of a vector that match the specified condition.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
protected virtual Vector<T> GetValues(
Vector<bool> mask
)
Protected Overridable Function GetValues (
mask As Vector(Of Boolean)
) As Vector(Of T)
protected:
virtual Vector<T>^ GetValues(
Vector<bool>^ mask
)
abstract GetValues :
mask : Vector<bool> -> Vector<'T>
override GetValues :
mask : Vector<bool> -> Vector<'T>
Parameters
- mask
- Type: Extreme.MathematicsVectorBoolean
A boolean vector that specifies the elements to select.
Return Value
Type:
VectorTA
VectorT that contains the elements in this instance
for which the corresponding element in
mask is
.
Reference