MtxExprInt.GatherByIndex Method

VectorInt GatherByIndex(TVecInt X, TVecInt Indexes)

Gathers elements from X specified by indices stored in Indexes in to the result.

#NameTypeDescription
1XTVecIntsource TVecInt
2IndexesTVecIntsource TVecInt

Returns: VectorInt