Vector.ScatterByIncr Method

function ScatterByIncr(const Src: TMtxVec; Increment: integer = 1; Offset: integer = 0): TMtxVec; overload;

Scatter object elements.

#NameTypeDescription
1SrcTMtxVecsource TVec or TMtx
2Incrementinteger
3Offsetinteger

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

Remarks:

Scatter the elements of the Src and store them in the calling object at indices: Increment*i + Offset