Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function FindIndexes(const a: TMtxVec; const op: string; const b: TCplx): TMtxVecInt; | Fills the calling vector with indexes, where the logical expression is true. |
| 2 | function FindIndexes(const a: TMtxVec; const op: string; const b: TMtxVec): TMtxVecInt; | The b parameter is of type. |
| 3 | function FindIndexes(const a: TMtxVec; const op: string; const b: Double): TMtxVecInt; | The b parameter is of double type. |
| 4 | function FindIndexes(const a: TMtxVecInt; const op: string; const b: TMtxVecInt): TMtxVecInt; | The b parameter is of TMtxVecInt type. |
| 5 | function FindIndexes(const a: TMtxVecInt; const op: string; const b: Integer): TMtxVecInt; | The b parameter is of integer type. |
Overload 1: function FindIndexes(const a: TMtxVec; const op: string; const b: TCplx): TMtxVecInt;
Fills the calling vector with indexes, where the logical expression is true.
Result: stored in self (calling object), returns self for chaining
Remarks:
Fills the calling vector with indexes, where the Op comparison between a and b is True. Op string parameter can be '<', '>', '>=','<=','=' or '<>'.
Examples
CreateIt(a,b);
With TVec(Self) do
try
Ln(Base); //First do it the normal way then fix the anomalies
Mul(Exponent);
Exp;
a.FindIndexes(Exponent,'=',0);
b.Size(a.Length,Complex);
b.Setval(1);
Scatter(b,a);
finally
FreeIt(a,b);
end;
Overload 2: function FindIndexes(const a: TMtxVec; const op: string; const b: TMtxVec): TMtxVecInt;
The b parameter is of type.
Result: stored in self (calling object), returns self for chaining
Overload 3: function FindIndexes(const a: TMtxVec; const op: string; const b: Double): TMtxVecInt;
The b parameter is of double type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec | |
| 2 | op | string | |
| 3 | b | Double |
Result: stored in self (calling object), returns self for chaining
Overload 4: function FindIndexes(const a: TMtxVecInt; const op: string; const b: TMtxVecInt): TMtxVecInt;
The b parameter is of TMtxVecInt type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVecInt | |
| 2 | op | string | |
| 3 | b | TMtxVecInt |
Result: stored in self (calling object), returns self for chaining
Overload 5: function FindIndexes(const a: TMtxVecInt; const op: string; const b: Integer): TMtxVecInt;
The b parameter is of integer type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVecInt | |
| 2 | op | string | |
| 3 | b | Integer |
Result: stored in self (calling object), returns self for chaining