Overload List
| # | Signature | Description |
|---|---|---|
| 1 | VectorInt FindIndexes(TMtxVec a, String op, TCplx b) | Fills the resulting vector with indexes, where the logical expression is true. |
| 2 | VectorInt FindIndexes(TMtxVec a, String op, TMtxVec b) | Fills the resulting vector with indexes, where the logical expression is true. |
| 3 | VectorInt FindIndexes(TMtxVec a, String op, Double b) | Fills the resulting vector with indexes, where the logical expression is true. |
| 4 | VectorInt FindIndexes(TMtxVecInt a, String op, TMtxVecInt b) | Fills the resulting vector with indexes, where the logical expression is true. |
| 5 | VectorInt FindIndexes(TMtxVecInt a, String op, Int32 b) | Fills the resulting vector with indexes, where the logical expression is true. |
Overload 1: VectorInt FindIndexes(TMtxVec a, String op, TCplx b)
Fills the resulting vector with indexes, where the logical expression is true.
Returns: VectorInt
The op can be "<", ">", "=", "<=",">=".
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: VectorInt FindIndexes(TMtxVec a, String op, TMtxVec b)
Fills the resulting vector with indexes, where the logical expression is true.
Returns: VectorInt
The b parameter is of type.
Overload 3: VectorInt FindIndexes(TMtxVec a, String op, Double b)
Fills the resulting vector with indexes, where the logical expression is true.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec | source TVec or TMtx |
| 2 | op | String | |
| 3 | b | Double | scalar |
Returns: VectorInt
The op can be "<", ">", "=", "<=",">=". The b parameter is of double type.
Overload 4: VectorInt FindIndexes(TMtxVecInt a, String op, TMtxVecInt b)
Fills the resulting vector with indexes, where the logical expression is true.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | op | String | |
| 3 | b | TMtxVecInt | source TVecInt or TMtxInt |
Returns: VectorInt
The op can be "<", ">", "=", "<=",">=". The b parameter is of Dew.Math.TMtxVecInt type.
Overload 5: VectorInt FindIndexes(TMtxVecInt a, String op, Int32 b)
Fills the resulting vector with indexes, where the logical expression is true.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | op | String | |
| 3 | b | Int32 |
Returns: VectorInt
The op can be "<", ">", "=", "<=",">=". The b parameter is of integer type.