Vector.Mask Method

Overload List

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

Overload 1: function Mask(const Value: TCplx; const aMask: TMtxVecInt): TMtxVec;

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

#NameTypeDescription
1ValueTCplx
2aMaskTMtxVecInt

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

Overload 2: function Mask(const MaskVec: TMtxVec; const aMask: TMtxVecInt): TMtxVec;

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

#NameTypeDescription
1MaskVecTMtxVec
2aMaskTMtxVecInt

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

Overload 3: function Mask(const Value: Double; const aMask: TMtxVecInt): TMtxVec;

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

#NameTypeDescription
1ValueDouble
2aMaskTMtxVecInt

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