TMtxByte.ScatterByMask Method

function ScatterByMask(const Src: TMtxVecInt; const Mask: TMtxVecInt; allow_resizing: Boolean): TMtxVecInt;

Scatters Src elements defined with the Mask to the calling object.

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2MaskTMtxVecIntsource TVecInt or TMtxInt
3allow_resizingBoolean

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