IVector.GetValues Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

GetValues(IEnumerable<Int32>) Returns a new object that contains the values at the specified positions.
GetValues(Int32[]) Returns a new object that contains the values at the specified positions.

GetValues(IEnumerable<Int32>)

Returns a new object that contains the values at the specified positions.
C#
IVector GetValues(
	IEnumerable<int> indexes
)

Parameters

indexes  IEnumerable<Int32>
An integer sequence containing the indexes of the elements in the original object.

Return Value

IVector
A new object containing the values at the positions specified by indexes.

GetValues(Int32[])

Returns a new object that contains the values at the specified positions.
C#
IVector GetValues(
	int[] indexes
)

Parameters

indexes  Int32[]
An integer array containing the indexes of the elements in the original object.

Return Value

IVector
A new object containing the values at the positions specified by indexes.

See Also