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