TAbstractMtxVecInt.FindMask Method

Overload List

#SignatureDescription
1function FindMask(const a: TMtxVecInt; const op: Char; const b: TMtxVecInt): TMtxVecInt; overload;
2function FindMask(const a: TMtxVecInt; const op: Char; const b: integer): TMtxVecInt; overload;
3function FindMask(const a: TMtxVecInt; const op: string; const b: TMtxVecInt): TMtxVecInt; overload;The b parameter is of TMtxVecInt type.
4function FindMask(const a: TMtxVecInt; const op: string; const b: integer): TMtxVecInt; overload;Finds a vector mask.

Overload 1: function FindMask(const a: TMtxVecInt; const op: Char; const b: TMtxVecInt): TMtxVecInt; overload;

#NameTypeDescription
1aTMtxVecIntsource TVecInt or TMtxInt
2opChar
3bTMtxVecIntsource TVecInt or TMtxInt

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

Overload 2: function FindMask(const a: TMtxVecInt; const op: Char; const b: integer): TMtxVecInt; overload;

#NameTypeDescription
1aTMtxVecIntsource TVecInt or TMtxInt
2opChar
3binteger

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

Overload 3: function FindMask(const a: TMtxVecInt; const op: string; const b: TMtxVecInt): TMtxVecInt; overload;

The b parameter is of TMtxVecInt type.

#NameTypeDescription
1aTMtxVecIntsource TVecInt or TMtxInt
2opstring
3bTMtxVecIntsource TVecInt or TMtxInt

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

Overload 4: function FindMask(const a: TMtxVecInt; const op: string; const b: integer): TMtxVecInt; overload;

Finds a vector mask.

#NameTypeDescription
1aTMtxVecIntsource TVecInt or TMtxInt
2opstring
3binteger

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

Remarks:

The calling vector will hold the those elements where the Op comparison between a and b is True. Op string parameter can be < , > , >= , <= , = or <>.

The calling vector will store the mask, 1 at those index locations where the Op comparison was True and 0 at those index locations where the Op comparison was false.