Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function FindAndSplit(aThis: TMtxVecInt; a: TMtxVec; op: string; b: TCplx; MaskVec: TVec; NotMaskVec: TVec): TMtxVecInt; | The b parameter is of TCplx type. |
| 2 | function FindAndSplit(aThis: TMtxVecInt; a: TMtxVec; op: string; b: TMtxVec; MaskVec: TVec; NotMaskVec: TVec): TMtxVecInt; | Finds the masks for a vector and splits it. |
| 3 | function FindAndSplit(aThis: TMtxVecInt; a: TMtxVec; op: string; b: Double; MaskVec: TVec; NotMaskVec: TVec): TMtxVecInt; | The b parameter is of double type. |
Overload 1: function FindAndSplit(aThis: TMtxVecInt; a: TMtxVec; op: string; b: TCplx; MaskVec: TVec; NotMaskVec: TVec): TMtxVecInt;
The b parameter is of TCplx type.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aThis | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | a | TMtxVec | source TVec or TMtx |
| 3 | op | string | |
| 4 | b | TCplx | scalar |
| 5 | MaskVec | TVec | source TVec |
| 6 | NotMaskVec | TVec | source TVec |
Result: stored in self (calling object), returns self for chaining
Overload 2: function FindAndSplit(aThis: TMtxVecInt; a: TMtxVec; op: string; b: TMtxVec; MaskVec: TVec; NotMaskVec: TVec): TMtxVecInt;
Finds the masks for a vector and splits it.
| # | 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 |
| 5 | MaskVec | TVec | source TVec |
| 6 | NotMaskVec | TVec | source TVec |
Result: stored in self (calling object), returns self for chaining
The method splits the a vector in two vectors. The MaskVec will hold the those elements where the Op comparison between a and b is True. Op string parameter can be < , > , >= , <= , = or <>. NotMaksVec will hold all those elements where the Op comparison between a and b is false.
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.
Overload 3: function FindAndSplit(aThis: TMtxVecInt; a: TMtxVec; op: string; b: Double; MaskVec: TVec; NotMaskVec: TVec): TMtxVecInt;
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 |
| 5 | MaskVec | TVec | source TVec |
| 6 | NotMaskVec | TVec | source TVec |
Result: stored in self (calling object), returns self for chaining