Dew MtxVec NET
TVec.FindMask Methods
Summary
Finds a vector mask.

Class
TVec

Declaration
Function FindMask(a: TMtxVec; op: string; b: TMtxVec): TVec;

Description
The b parameter is of AbstractMtxVec.TMtxVec type.
Declaration
Function FindMask(a: TMtxVec; op: string; b: TSample): TVec;

Description
The b parameter is of Math387.TSample type.
Declaration
Function FindMask(a: TMtxVec; op: string; b: TCplx): TVec;

Description
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.

The calling vector stores the mask as Integers in to the memory location occupied by Values array. The memory is typecasted to an array of integers via IValues pointer. Other TVec methods can not be used to perform operations on an array of integers unless explicitly specified.

 See Also 
FindAndGather 
FindAndSplit 
FindIndexes 
Find 
Gather 
Scatter 

Copyright 2008 Dew Research
http://www.dewresearch.com