TMtxVecIntHelper::FindIndexes Method

Overload List

#SignatureDescription
1static TMtxVecInt *FindIndexes(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, const TCplx &b);Fills the calling vector with indexes, where the logical expression is true.
2static TMtxVecInt *FindIndexes(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, const double b);The b parameter is of double type.
3static TMtxVecInt *FindIndexes(TMtxVecInt *aThis, TMtxVec *a, const DewString &op, TMtxVec *b);The b parameter is of TMtxVec type.

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

Fills the calling vector with indexes, where the logical expression is true.

#NameTypeDescription
1aThisTMtxVecInt *
2aTMtxVec *
3opconst DewString &
4bconst TCplx &
Remarks:

Fills the calling vector with indexes, where the Op comparison between a and b is True. Op string parameter can be '<', '>', '>=','<=','=' or '<>'. The calling vector will be sized to match a.Length. On return it will be subranged to reflect actual number of matching elements. The method will not raise an exception, if the calling vector (Self) is already subranged. Check the TVec.SetSubRange routine to learn more about subranges.

See Also: TVec::GatherSplit, TVec::FindAndGather, TMtxVecIntHelper::FindMask, Find, TVec::Gather, TMtxVec::Scatter
Declared in Dew::Math::TMtxVecIntHelper · Dew.Math/MtxVec.h · Cross-compiler

Overload 2: static TMtxVecInt *FindIndexes(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 3: static TMtxVecInt *FindIndexes(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