Categorical Vector<T>.Get Values(Int 32[], Boolean, Intent) Method
Returns a new vector that contains the elements of the vector with the specified indexes.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A Vector<T> containing a sequence of elements of this instance whose index is the corresponding value in indexes.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override Vector<T> GetValues(
int[] indexes,
bool allowMissingValues,
Intent intent
)
Parameters
- indexes Int32[]
- A sequence of integers.
- allowMissingValues Boolean
- If true, negative values in indexes are interpreted as missing values; otherwise missing values cause an exception.
- intent Intent
- An Intent value that specifies the intended use of the sub-vector.
Return Value
Vector<T>A Vector<T> containing a sequence of elements of this instance whose index is the corresponding value in indexes.