TMtxVecIntHelper::FindMask Method

Overload List

#SignatureDescription
1static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, const TCplx &b);Finds a vector mask.
2static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const char op, const TCplx &b);
3static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, const double b);The b parameter is of double type.
4static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const char op, const double b);
5static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, TMtxVec *b);The b parameter is of TMtxVec type.
6static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const char op, TMtxVec *b);

Overload 1: static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, const TCplx &b);

Finds a vector mask.

#NameTypeDescription
1aThisTMtxVecInt *
2aTMtxVec *
3opconst DewString &
4bconst TCplx &
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: TVec::GatherSplit, TVec::FindAndGather, TMtxVecIntHelper::FindIndexes, Find, TVec::Gather, TMtxVec::Scatter
Declared in Dew::Math::TMtxVecIntHelper · Dew.Math/MtxVec.h · Cross-compiler

Overload 2: static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const char op, const TCplx &b);

#NameTypeDescription
1aThisTMtxVecInt *
2aTMtxVec *
3opconst char
4bconst TCplx &
Declared in Dew::Math::TMtxVecIntHelper · Dew.Math/MtxVec.h · Cross-compiler

Overload 3: static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, const double b);

The b parameter is of double type.

#NameTypeDescription
1aThisTMtxVecInt *
2aTMtxVec *
3opconst DewString &
4bconst double
Declared in Dew::Math::TMtxVecIntHelper · Dew.Math/MtxVec.h · Cross-compiler

Overload 4: static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const char op, const double b);

#NameTypeDescription
1aThisTMtxVecInt *
2aTMtxVec *
3opconst char
4bconst double
Declared in Dew::Math::TMtxVecIntHelper · Dew.Math/MtxVec.h · Cross-compiler

Overload 5: static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, TMtxVec *b);

The b parameter is of TMtxVec type.

#NameTypeDescription
1aThisTMtxVecInt *
2aTMtxVec *
3opconst DewString &
4bTMtxVec *
Declared in Dew::Math::TMtxVecIntHelper · Dew.Math/MtxVec.h · Cross-compiler

Overload 6: static TMtxVecInt *FindMask(TMtxVecInt *aThis, TMtxVec *a, const char op, TMtxVec *b);

#NameTypeDescription
1aThisTMtxVecInt *
2aTMtxVec *
3opconst char
4bTMtxVec *
Declared in Dew::Math::TMtxVecIntHelper · Dew.Math/MtxVec.h · Cross-compiler