Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function FindIndexes(const a: TMtxVec; const op: string; const b: TCplx): VectorInt; | Fills the resulting vector with indexes, where the logical expression is true. |
| 2 | function FindIndexes(const a: TMtxVec; const op: string; const b: TMtxVec): VectorInt; | Fills the resulting vector with indexes, where the logical expression is true. |
| 3 | function FindIndexes(const a: TMtxVec; const op: string; const b: Double): VectorInt; | Fills the resulting vector with indexes, where the logical expression is true. |
| 4 | function FindIndexes(const a: TMtxVecInt; const op: string; const b: TMtxVecInt): VectorInt; | Fills the resulting vector with indexes, where the logical expression is true. |
| 5 | function FindIndexes(const a: TMtxVecInt; const op: string; const b: Integer): VectorInt; | Fills the resulting vector with indexes, where the logical expression is true. |
Overload 1: function FindIndexes(const a: TMtxVec; const op: string; const b: TCplx): VectorInt;
Fills the resulting vector with indexes, where the logical expression is true.
Returns: VectorInt
The op can be "<", ">", "=", "<=",">=".
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): VectorInt;
Fills the resulting vector with indexes, where the logical expression is true.
Returns: VectorInt
The b parameter is of type.
Overload 3: function FindIndexes(const a: TMtxVec; const op: string; const b: Double): VectorInt;
Fills the resulting vector with indexes, where the logical expression is true.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec | |
| 2 | op | string | |
| 3 | b | Double |
Returns: VectorInt
The op can be "<", ">", "=", "<=",">=". The b parameter is of double type.
Overload 4: function FindIndexes(const a: TMtxVecInt; const op: string; const b: TMtxVecInt): VectorInt;
Fills the resulting vector with indexes, where the logical expression is true.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVecInt | |
| 2 | op | string | |
| 3 | b | TMtxVecInt |
Returns: VectorInt
The op can be "<", ">", "=", "<=",">=". The b parameter is of TMtxVecInt type.
Overload 5: function FindIndexes(const a: TMtxVecInt; const op: string; const b: Integer): VectorInt;
Fills the resulting vector with indexes, where the logical expression is true.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVecInt | |
| 2 | op | string | |
| 3 | b | Integer |
Returns: VectorInt
The op can be "<", ">", "=", "<=",">=". The b parameter is of integer type.