MtxExprInt.FindIndexes Method

Overload List

#SignatureDescription
1VectorInt FindIndexes(TMtxVec a, String op, TCplx b)Fills the resulting vector with indexes, where the logical expression is true.
2VectorInt FindIndexes(TMtxVec a, String op, TMtxVec b)Fills the resulting vector with indexes, where the logical expression is true.
3VectorInt FindIndexes(TMtxVec a, String op, Double b)Fills the resulting vector with indexes, where the logical expression is true.
4VectorInt FindIndexes(TMtxVecInt a, String op, TMtxVecInt b)Fills the resulting vector with indexes, where the logical expression is true.
5VectorInt 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.

#NameTypeDescription
1aTMtxVecsource TVec or TMtx
2opString
3bTCplxscalar

Returns: VectorInt

Remarks:

The op can be "<", ">", "=", "<=",">=".

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: VectorInt FindIndexes(TMtxVec a, String op, TMtxVec b)

Fills the resulting vector with indexes, where the logical expression is true.

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

Returns: VectorInt

Remarks:

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.

#NameTypeDescription
1aTMtxVecsource TVec or TMtx
2opString
3bDoublescalar

Returns: VectorInt

Remarks:

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.

#NameTypeDescription
1aTMtxVecIntsource TVecInt or TMtxInt
2opString
3bTMtxVecIntsource TVecInt or TMtxInt

Returns: VectorInt

Remarks:

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.

#NameTypeDescription
1aTMtxVecIntsource TVecInt or TMtxInt
2opString
3bInt32

Returns: VectorInt

Remarks:

The op can be "<", ">", "=", "<=",">=". The b parameter is of integer type.