Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt FindIndexes(TMtxVec a, String op, TCplx b) | Fills the calling vector with indexes, where the logical expression is true. |
| 2 | TMtxVecInt FindIndexes(TMtxVec a, String op, TMtxVec b) | The b parameter is of type. |
| 3 | TMtxVecInt FindIndexes(TMtxVec a, String op, Double b) | The b parameter is of double type. |
| 4 | TMtxVecInt FindIndexes(TMtxVecInt a, String op, TMtxVecInt b) | The b parameter is of Dew.Math.TMtxVecInt type. |
| 5 | TMtxVecInt FindIndexes(TMtxVecInt a, String op, Int32 b) | The b parameter is of integer type. |
Overload 1: TMtxVecInt FindIndexes(TMtxVec a, String op, TCplx b)
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
MtxVec.CreateIt(out a, out 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
{
MtxVec.FreeIt(ref a, ref b);
}
Overload 2: TMtxVecInt FindIndexes(TMtxVec a, String op, TMtxVec b)
The b parameter is of type.
Result: stored in self (calling object), returns self for chaining
Overload 3: TMtxVecInt FindIndexes(TMtxVec a, String op, Double b)
The b parameter is of double type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec | source TVec or TMtx |
| 2 | op | String | |
| 3 | b | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Overload 4: TMtxVecInt FindIndexes(TMtxVecInt a, String op, TMtxVecInt b)
The b parameter is of Dew.Math.TMtxVecInt type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | op | String | |
| 3 | b | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Overload 5: TMtxVecInt FindIndexes(TMtxVecInt a, String op, Int32 b)
The b parameter is of integer type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | op | String | |
| 3 | b | Int32 |
Result: stored in self (calling object), returns self for chaining