VectorInt.FindIndexes Method

Overload List

#SignatureDescription
1TMtxVecInt FindIndexes(TMtxVec a, String op, TCplx b)Fills the calling vector with indexes, where the logical expression is true.
2TMtxVecInt FindIndexes(TMtxVec a, String op, TMtxVec b)The b parameter is of type.
3TMtxVecInt FindIndexes(TMtxVec a, String op, Double b)The b parameter is of double type.
4TMtxVecInt FindIndexes(TMtxVecInt a, String op, TMtxVecInt b)The b parameter is of Dew.Math.TMtxVecInt type.
5TMtxVecInt 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.

#NameTypeDescription
1aTMtxVecsource TVec or TMtx
2opString
3bTCplxscalar

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);
    }
See Also: Vector.FindAndGather, VectorInt.FindAndGather, VectorInt.FindAndSplit, VectorInt.FindMask, VectorInt.Find, Vector.Gather, VectorInt.Gather, VectorInt.Scatter

Overload 2: TMtxVecInt FindIndexes(TMtxVec a, String op, TMtxVec b)

The b parameter is of type.

#NameTypeDescription
1aTMtxVecsource TVec or TMtx
2opString
3bTMtxVecsource TVec or TMtx

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.

#NameTypeDescription
1aTMtxVecsource TVec or TMtx
2opString
3bDoublescalar

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.

#NameTypeDescription
1aTMtxVecIntsource TVecInt or TMtxInt
2opString
3bTMtxVecIntsource 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.

#NameTypeDescription
1aTMtxVecIntsource TVecInt or TMtxInt
2opString
3bInt32

Result: stored in self (calling object), returns self for chaining