TSparseMtx::ScatterByMask Method

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

Scatters Src elements defined with the Mask to the calling object.

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

The elements are assumed to be not scattered in the Src! This is not a masked copy operation. It is a reverse of GatherByMask.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler