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
protected virtual Vector<T> GetSliceCore(
Slice slice,
Intent intent
)
Protected Overridable Function GetSliceCore (
slice As Slice,
intent As Intent
) As Vector(Of T)
protected:
virtual Vector<T>^ GetSliceCore(
Slice slice,
Intent intent
)
abstract GetSliceCore :
slice : Slice *
intent : Intent -> Vector<'T>
override GetSliceCore :
slice : Slice *
intent : Intent -> Vector<'T>
Parameters
- slice
- Type: Extreme.MathematicsSlice
A Slice structure that specifies the
elements to return. - 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.
This is an implementation method. It is safe to assume the arguments are valid.
The intent parameter can be used to choose the optimal representation
of the sub-vector for a specific purpose. Note that this method guararantees that the returned
vector will be suitable for the specified purpose, but it will not enforce it. For example,
if the purpose of the sub-vector is ReadOnly, there is no guarantee that
the returned vector will be read-only.
Reference