Note: This API is now obsolete.
Returns a vector whose elements are a subset of the elements of
this instance
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
[ObsoleteAttribute("Use the GetSlice method instead.")]
public Vector<T> GetSubvector(
int startIndex,
int endIndex,
Intent intent
)
<ObsoleteAttribute("Use the GetSlice method instead.")>
Public Function GetSubvector (
startIndex As Integer,
endIndex As Integer,
intent As Intent
) As Vector(Of T)
public:
[ObsoleteAttribute(L"Use the GetSlice method instead.")]
Vector<T>^ GetSubvector(
int startIndex,
int endIndex,
Intent intent
)
[<ObsoleteAttribute("Use the GetSlice method instead.")>]
member GetSubvector :
startIndex : int *
endIndex : int *
intent : Intent -> Vector<'T>
Parameters
- startIndex
- Type: SystemInt32
The index of the first element of this
VectorT to be contained in the new
vector. - endIndex
- Type: SystemInt32
The index of the last element of this
VectorT to be contained in the new
vector. - intent
- Type: Extreme.MathematicsIntent
An Intent value that
specifies the intended use of the sub-vector.
Return Value
Type:
VectorTA reference to the new
VectorT.
Exception | Condition |
---|
ArgumentOutOfRangeException | startIndex is less than zero or greater than the length
of the vector. -or- endIndex is less than zero or greater than the length
of the vector. |
Reference