Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt FindMask(TMtxVecInt aThis, TMtxVec a, String op, TCplx b) | Finds a vector mask. |
| 2 | TMtxVecInt FindMask(TMtxVecInt aThis, TMtxVec a, String op, TMtxVec b) | The b parameter is of Dew.Math.TMtxVec type. |
| 3 | TMtxVecInt FindMask(TMtxVecInt aThis, TMtxVec a, String op, Double b) | The b parameter is of double type. |
Overload 1: TMtxVecInt FindMask(TMtxVecInt aThis, TMtxVec a, String op, TCplx b)
Finds a vector mask.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aThis | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | a | TMtxVec | source TVec or TMtx |
| 3 | op | String | |
| 4 | b | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Remarks:
The calling vector will hold the those elements where the Op comparison between a and b is True. Op string parameter can be < , > , >= , <= , = or <>
The calling vector will store the mask, 1 at those index locations where the Op comparison was True and 0 at those index locations where the Op comparison was false.
See Also: TVec.GatherSplit, TVec.FindAndGather, TMtxVecIntHelper.FindIndexes, MtxVec.Find, TVec.Gather, TMtxVec.Scatter
Overload 2: TMtxVecInt FindMask(TMtxVecInt aThis, TMtxVec a, String op, TMtxVec b)
The b parameter is of Dew.Math.TMtxVec type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aThis | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | a | TMtxVec | source TVec or TMtx |
| 3 | op | String | |
| 4 | b | TMtxVec | source TVec or TMtx |
Result: stored in self (calling object), returns self for chaining
Overload 3: TMtxVecInt FindMask(TMtxVecInt aThis, TMtxVec a, String op, Double b)
The b parameter is of double type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aThis | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | a | TMtxVec | source TVec or TMtx |
| 3 | op | String | |
| 4 | b | Double | scalar |
Result: stored in self (calling object), returns self for chaining