Vector.GatherByIncr Method

function GatherByIncr(const X: TMtxVec; Increment: Integer; Offset: Integer): TVec;

Gather vector elements.

#NameTypeDescription
1XTMtxVec
2IncrementInteger
3OffsetInteger

Result: stored in self (calling object), returns self for chaining

Remarks:

Gather the elements of vector X at indices defined with Increment*i + Offset and store them to the calling vector.