TMtxVec ScatterByMask(TMtxVec Src, TMtxVecInt Mask, Boolean allow_resizing)
Scatters Src elements defined with the Mask to the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec | source TVec or TMtx |
| 2 | Mask | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | allow_resizing | Boolean |
Result: stored in self (calling object), returns self for chaining
Remarks:
The elements are assumed to be not scattered in the Src! This is not a masked copy operation. It is a reverse of GatherByMask.