TMtxVec ScatterByMask(TMtxVec Src, TVecInt Mask, Boolean allow_resizing)
Scatter object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec | source TVec or TMtx |
| 2 | Mask | TVecInt | source TVecInt |
| 3 | allow_resizing | Boolean |
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.