TVecByte.ScatterByIndexes Method

function ScatterByIndexes(const Src: TMtxVecInt; const Indexes: TMtxVecInt): TMtxVecInt;

Scatters Src elements defined with indices stored in Indexes to the calling object.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2IndexesTMtxVecIntsource TVecInt or TMtxInt

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