Overload List
| # | Signature | Description |
|---|---|---|
| 1 | VectorInt FindAndSplit(TMtxVec a, String op, TCplx b, TVec MaskVec, TVec NotMaskVec) | Finds the masks for a vector and splits it. |
| 2 | VectorInt FindAndSplit(TMtxVec a, String op, TMtxVec b, TVec MaskVec, TVec NotMaskVec) | Finds the masks for a vector and splits it. |
| 3 | VectorInt FindAndSplit(TMtxVec a, String op, Double b, TVec MaskVec, TVec NotMaskVec) | Finds the masks for a vector and splits it. |
Overload 1: VectorInt FindAndSplit(TMtxVec a, String op, TCplx b, TVec MaskVec, TVec NotMaskVec)
Finds the masks for a vector and splits it.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec | source TVec or TMtx |
| 2 | op | String | |
| 3 | b | TCplx | scalar |
| 4 | MaskVec | TVec | source TVec |
| 5 | NotMaskVec | TVec | source TVec |
Returns: VectorInt
Remarks:
The op can be "<", ">", "=", "<=",">=". The b parameter is of Dew.Math.TCplx type. Use ScatterByMask to distribute MaskVec and NotMaskVec back to its location.
Overload 2: VectorInt FindAndSplit(TMtxVec a, String op, TMtxVec b, TVec MaskVec, TVec NotMaskVec)
Finds the masks for a vector and splits it.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec | source TVec or TMtx |
| 2 | op | String | |
| 3 | b | TMtxVec | source TVec or TMtx |
| 4 | MaskVec | TVec | source TVec |
| 5 | NotMaskVec | TVec | source TVec |
Returns: VectorInt
Remarks:
The op can be "<", ">", "=", "<=",">=". Use ScatterByMask to distribute MaskVec and NotMaskVec back to its location.
Overload 3: VectorInt FindAndSplit(TMtxVec a, String op, Double b, TVec MaskVec, TVec NotMaskVec)
Finds the masks for a vector and splits it.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | TMtxVec | source TVec or TMtx |
| 2 | op | String | |
| 3 | b | Double | scalar |
| 4 | MaskVec | TVec | source TVec |
| 5 | NotMaskVec | TVec | source TVec |
Returns: VectorInt
Remarks:
The op can be "<", ">", "=", "<=",">=". The b parameter is of double type. Use ScatterByMask to distribute MaskVec and NotMaskVec back to its location.