Categorical Vector<T>.Get Values Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Get | Returns a vector that contains the specified subset of elements of the vector. |
Get | Returns a new vector that contains the elements of the vector with the specified indexes. |
Get | Returns a new vector that contains the elements of the vector with the specified indexes. |
Get |
Returns a vector containing the items at the specified key values.
Preliminary |
GetValues(Int32[], Boolean, Intent)
Returns a new vector that contains the elements of the vector with the specified indexes.
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.