TVec *GatherByMask(TMtxVec *X, TVecInt *Mask) const;
Gather vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Mask | TVecInt * |
Remarks:
Gather the elements of vector X at indices defined with Mask and store them to the calling vector.
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler