Returns a new vector that contains the elements of the vector with the specified indexes.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public override Vector<T> GetValues(
int[] indexes,
bool allowMissingValues,
Intent intent
)
Public Overrides Function GetValues (
indexes As Integer(),
allowMissingValues As Boolean,
intent As Intent
) As Vector(Of T)
public:
virtual Vector<T>^ GetValues(
array<int>^ indexes,
bool allowMissingValues,
Intent intent
) override
abstract GetValues :
indexes : int[] *
allowMissingValues : bool *
intent : Intent -> Vector<'T>
override GetValues :
indexes : int[] *
allowMissingValues : bool *
intent : Intent -> Vector<'T>
Parameters
- indexes
- Type: SystemInt32
A sequence of integers. - allowMissingValues
- Type: SystemBoolean
If , negative values
in indexes are interpreted as missing values; otherwise
missing values cause an exception. - intent
- Type: Extreme.MathematicsIntent
An Intent value that
specifies the intended use of the sub-vector.
Return Value
Type:
VectorTA
VectorT containing a sequence of elements of this instance
whose index is the corresponding value in
indexes.
Reference