Matrix::ScatterByMask Method

TMtxVec *ScatterByMask(TMtxVec *Src, TVecInt *Mask, bool allow_resizing = false) const;

Scatter object elements.

#NameTypeDescription
1SrcTMtxVec *
2MaskTVecInt *
3allow_resizing = falsebool
Remarks:

Scatter the elements of the Src and store them in the calling object at indices set to 1 in the Mask parameter.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler