Matrix.ScatterByMask Method

TMtxVec ScatterByMask(TMtxVec Src, TVecInt Mask, Boolean allow_resizing)

Scatter object elements.

#NameTypeDescription
1SrcTMtxVecsource TVec or TMtx
2MaskTVecIntsource TVecInt
3allow_resizingBoolean

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 set to 1 in the Mask parameter.