You are here: Symbol Reference > MtxVec Namespace > Classes > TMtxVecIntHelper Class Helper > public > FindMask Method > TMtxVecIntHelper.FindMask Method (TMtxVec, string, TCplx)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecIntHelper.FindMask Method (TMtxVec, string, TCplx)

Finds a vector mask.

Pascal
function FindMask(const a: TMtxVec; const op: string; const b: TCplx): 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.

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