Overload List
| # | Signature | Description |
|---|---|---|
| 1 | int Find(const double x); | Finds a match for X in object values. |
| 2 | int Find(const TCplx &x); | Compare complex value X with all calling object elements. |
Overload 1: int Find(const double x);
Finds a match for X in object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | const double |
Returns: the index of first matched element. If no matching elements are found, the result is -1.
Remarks:
Compare real value X with all calling object elements.
Note
This method also supports the NAN and INF search.
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler
Overload 2: int Find(const TCplx &x);
Compare complex value X with all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | const TCplx & |
Returns: the index of first matched element. If no matching elements are found, the result is -1.
Remarks:
An exception is raised if calling object TSparseMtx::Complex property is false.
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler