TSparseMtx.ScatterByIndexes Method

function ScatterByIndexes(const Src: TMtxVec; const Indexes: TVecInt): TMtxVec;

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

#NameTypeDescription
1SrcTMtxVecsource TVec or TMtx
2IndexesTVecIntsource TVecInt

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