You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > Vector.GatherByIndex Method
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.GatherByIndex Method

Gather vector elements.

Pascal
function GatherByIndex(const X: TMtxVec; const Indexes: TVecInt): TVec; overload;

Gather the elements of vector X at indices defined with Indexes and store them to the calling vector.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!