MatrixInt.FindMask Method

Overload List

#SignatureDescription
1function FindMask(const a: TMtx; const op: string; const b: TCplx): TMtxVecInt;Finds a vector mask.
2function FindMask(const a: TMtx; const op: string; const b: Double): TMtxVecInt;The b parameter is of double type.
3function FindMask(const a: TMtxVec; const op: string; const b: TMtxVec): TMtxVecInt;The b parameter is of TMtxVec type.
4function FindMask(const a: TMtxVecInt; const op: string; const b: TMtxVecInt): TMtxVecInt;The b parameter is of TMtxVec type.
5function FindMask(const a: TMtxVecInt; const op: string; const b: Integer): TMtxVecInt;Finds a vector mask.

Overload 1: function FindMask(const a: TMtx; const op: string; const b: TCplx): TMtxVecInt;

Finds a vector mask.

#NameTypeDescription
1aTMtx
2opstring
3bTCplx

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.

See Also: Vector.FindAndGather, VectorInt.FindAndGather, MatrixInt.FindAndSplit, Int32), MatrixInt.Find, Vector.Gather, VectorInt.Gather, MatrixInt.Scatter

Overload 2: function FindMask(const a: TMtx; const op: string; const b: Double): TMtxVecInt;

The b parameter is of double type.

#NameTypeDescription
1aTMtx
2opstring
3bDouble

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

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

The b parameter is of TMtxVec type.

#NameTypeDescription
1aTMtxVec
2opstring
3bTMtxVec

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

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

The b parameter is of TMtxVec type.

#NameTypeDescription
1aTMtxVecInt
2opstring
3bTMtxVecInt

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

Overload 5: function FindMask(const a: TMtxVecInt; const op: string; const b: Integer): TMtxVecInt;

Finds a vector mask.

#NameTypeDescription
1aTMtxVecInt
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.