You are here: Symbol Reference > MtxExprInt Namespace > Classes > VectorInt Record > public > FindMask Method > VectorInt.FindMask Method (TMtxVecInt, string, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
VectorInt.FindMask Method (TMtxVecInt, string, integer)

Finds a vector mask. 

The b parameter is of integer type.

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

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.

Vector.FindAndGather, VectorInt.FindAndGather, FindIndexes, Find, Vector.Gather, VectorInt.Gather, Scatter

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!