MtxExprInt.GatherByMask Method

function GatherByMask(const X: TVecInt; const Mask: TMtxVecInt; const MaskNonZeroCount: Integer): VectorInt;

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

#NameTypeDescription
1XTVecInt
2MaskTMtxVecInt
3MaskNonZeroCountInteger

Returns: VectorInt