Vector.SetSubRangeLevel Method

Overload List

#SignatureDescription
1void SetSubRangeLevel(TMtxVec Src, Int32 Index, Int32 Len)Define a subvector of the Src vector starting at Index and ending at Index+Len-1.
2void SetSubRangeLevel(Int32 Index, Int32 Len)Defines a sub vector/matrix and pushes previous subrange to internal stack.

Overload 1: void SetSubRangeLevel(TMtxVec Src, Int32 Index, Int32 Len)

Define a subvector of the Src vector starting at Index and ending at Index+Len-1.

#NameTypeDescription
1SrcTMtxVecsource TVec or TMtx
2IndexInt32start index
3LenInt32element count

Result: stored in self (calling object)

Remarks:

Additionally, it pushes the previous subrange on to a stack, which can be poped by calling SetFullRangeLevel.

Overload 2: void SetSubRangeLevel(Int32 Index, Int32 Len)

Defines a sub vector/matrix and pushes previous subrange to internal stack.

#NameTypeDescription
1IndexInt32start index
2LenInt32element count

Result: stored in self (calling object)

Remarks:

Call SetSubRangeLevel, to pop the stack.