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. Indexes must have IsInteger property set to true and indexes are stored in the IValues property.

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