Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVec *FindAndGather(TMtxVec *a, const DewString &op, const TCplx &b, TVecInt *Indexes = null); | Finds and gathers vector elements. |
| 2 | TVec *FindAndGather(TMtxVec *a, const DewString &op, const double b, TVecInt *Indexes = null); | The b parameter is of double type. |
| 3 | TVec *FindAndGather(TMtxVec *a, const DewString &op, TMtxVec *b, TVecInt *Indexes = null); | The b parameter is of TMtxVec type. |
Overload 1: TVec *FindAndGather(TMtxVec *a, const DewString &op, const TCplx &b, TVecInt *Indexes = null);
Finds and gathers vector elements.
Remarks:
Fills the Indexes vector with indexes, of those elements where the Op comparison between a and b is True. Op string parameter can be '<', '>', '>=','<=','=' or '<>'. The method also copies or "gathers" the matched elements to the calling vector. Both the calling vector and Indexes will be sized to match a.Length. On return, both will be subranged to reflect actual number of matching elements. The method will not raise an exception, if the calling vector (Self) or Indexes parameter are already subranged.
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler
Overload 2: TVec *FindAndGather(TMtxVec *a, const DewString &op, const double b, TVecInt *Indexes = null);
The b parameter is of double type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec * | |
| 2 | op | const DewString & | |
| 3 | b | const double | |
| 4 | Indexes = null | TVecInt * |
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler
Overload 3: TVec *FindAndGather(TMtxVec *a, const DewString &op, TMtxVec *b, TVecInt *Indexes = null);
The b parameter is of TMtxVec type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec * | |
| 2 | op | const DewString & | |
| 3 | b | TMtxVec * | |
| 4 | Indexes = null | TVecInt * |
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler