Vector<T>.GetValues(Vector<Boolean>) Method

Returns the elements of a vector that match the specified condition.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected virtual Vector<T> GetValues(
	Vector<bool> mask
)

Parameters

mask  Vector<Boolean>
A boolean vector that specifies the elements to select.

Return Value

Vector<T>
A Vector<T> that contains the elements in this instance for which the corresponding element in mask is true.

See Also