MatrixInt::FindMask Method

Overload List

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

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

Finds a vector mask.

#NameTypeDescription
1aTMtx *
2opconst DewString &
3bconst 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: Vector::FindAndGather, VectorInt::FindAndGather, MatrixInt::FindAndSplit, FindIndexes, MatrixInt::Find, Vector::Gather, VectorInt::Gather, MatrixInt::Scatter
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: TMtxVecInt *FindMask(TMtx *a, const DewString &op, const double b) const;

The b parameter is of double type.

#NameTypeDescription
1aTMtx *
2opconst DewString &
3bconst double
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

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

The b parameter is of TMtxVec type.

#NameTypeDescription
1aTMtxVec *
2opconst DewString &
3bTMtxVec *
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 4: TMtxVecInt *FindMask(TMtxVecInt *a, const DewString &op, const int b) const;

Finds a vector mask.

#NameTypeDescription
1aTMtxVecInt *
2opconst DewString &
3bconst int
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.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

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

The b parameter is of TMtxVec type.

#NameTypeDescription
1aTMtxVecInt *
2opconst DewString &
3bTMtxVecInt *
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler