Returns a vector that points to a part of
this dense vector
Namespace: Extreme.Mathematics.DistributedAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public override Vector<T> GetSubvector(
int startIndex,
int endIndex,
int stride,
Intent intent
)
Public Overrides Function GetSubvector (
startIndex As Integer,
endIndex As Integer,
stride As Integer,
intent As Intent
) As Vector(Of T)
public:
virtual Vector<T>^ GetSubvector(
int startIndex,
int endIndex,
int stride,
Intent intent
) override
abstract GetSubvector :
startIndex : int *
endIndex : int *
stride : int *
intent : Intent -> Vector<'T>
override GetSubvector :
startIndex : int *
endIndex : int *
stride : int *
intent : Intent -> Vector<'T>
Parameters
- startIndex
- Type: SystemInt32
The index of the first element of this
vector to be contained in the new
vector. - endIndex
- Type: SystemInt32
The index of the last element of this
vector to be contained in the new
vector. - stride
- Type: SystemInt32
The increment for the index
in this vector corresponding to an
increment of one in the new vector. - intent
- Type: Extreme.MathematicsIntent
A Intent value that indicates how the subvector will be used once it is created.
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. |
Numerical Libraries
Supported in: 5.x
Reference