Vector<T>.Item(Vector<Boolean>) Property

Gets or sets 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#
public Vector<T> this[
	Vector<bool> mask
] { get; set; }

Parameters

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

Property Value

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

See Also