MtxExprInt.GatherByMask Method

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

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

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

Returns: VectorInt