TVecByte.GatherByIndex Method

TVecInt GatherByIndex(TMtxVecInt X, TVecInt Indexes)

Gathers elements from X specified by indices stored in Indexes the calling object.

#NameTypeDescription
1XTMtxVecIntsource TVecInt or TMtxInt
2IndexesTVecIntsource TVecInt

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