MtxExprInt.FindIndexes Method

Overload List

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

#NameTypeDescription
1aTMtxVec
2opstring
3bTCplx

Returns: VectorInt

Remarks:

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

Examples
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.

#NameTypeDescription
1aTMtxVec
2opstring
3bTMtxVec

Returns: VectorInt

Remarks:

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.

#NameTypeDescription
1aTMtxVec
2opstring
3bDouble

Returns: VectorInt

Remarks:

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.

#NameTypeDescription
1aTMtxVecInt
2opstring
3bTMtxVecInt

Returns: VectorInt

Remarks:

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.

#NameTypeDescription
1aTMtxVecInt
2opstring
3bInteger

Returns: VectorInt

Remarks:

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