Vector.SetSubRangeLevel Method

Overload List

#SignatureDescription
1procedure SetSubRangeLevel(const Src: TMtxVec; Index: integer; Len: integer = MtxVecEOA); overload;Define a subvector of the Src vector starting at Index and ending at Index+Len-1.
2procedure SetSubRangeLevel(Index: integer; Len: integer); overload;Defines a sub vector/matrix and pushes previous subrange to internal stack.

Overload 1: procedure SetSubRangeLevel(const Src: TMtxVec; Index: integer; Len: integer = MtxVecEOA); overload;

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

#NameTypeDescription
1SrcTMtxVecsource TVec or TMtx
2Indexintegerstart index
3Lenintegerelement 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: procedure SetSubRangeLevel(Index: integer; Len: integer); overload;

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

#NameTypeDescription
1Indexintegerstart index
2Lenintegerelement count

Result: stored in self (calling object)

Remarks:

Call SetSubRangeLevel, to pop the stack.