TVec.Mask Method

Overload List

#SignatureDescription
1TMtxVec Mask(TCplx Value, TMtxVecInt aMask)Assigns Value at indexes of the calling object, at which aMask is different from 0.
2TMtxVec Mask(TMtxVec MaskVec, TMtxVecInt aMask)Copies those values from MaskVec, at which aMask is different from 0.
3TMtxVec Mask(Double Value, TMtxVecInt aMask)Assigns Value at indexes of the calling object, at which aMask is different from 0.

Overload 1: TMtxVec Mask(TCplx Value, TMtxVecInt aMask)

Assigns Value at indexes of the calling object, at which aMask is different from 0.

#NameTypeDescription
1ValueTCplxscalar
2aMaskTMtxVecIntsource TVecInt or TMtxInt

Result: stored in self (calling object), returns self for chaining

Overload 2: TMtxVec Mask(TMtxVec MaskVec, TMtxVecInt aMask)

Copies those values from MaskVec, at which aMask is different from 0.

#NameTypeDescription
1MaskVecTMtxVecsource TVec or TMtx
2aMaskTMtxVecIntsource TVecInt or TMtxInt

Result: stored in self (calling object), returns self for chaining

Overload 3: TMtxVec Mask(Double Value, TMtxVecInt aMask)

Assigns Value at indexes of the calling object, at which aMask is different from 0.

#NameTypeDescription
1ValueDoublescalar
2aMaskTMtxVecIntsource TVecInt or TMtxInt

Result: stored in self (calling object), returns self for chaining