TVecSmallInt.GatherByMask Method

TVecInt GatherByMask(TMtxVecInt X, TMtxVecInt Mask, Int32 MaskNonZeroCount)

Gathers elements from X specified by non-zero values stored in the Mask to the calling object.

#NameTypeDescription
1XTMtxVecIntsource TVecInt or TMtxInt
2MaskTMtxVecIntsource TVecInt or TMtxInt
3MaskNonZeroCountInt32

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