MtxExprInt.FindAndSplit Method

Overload List

#SignatureDescription
1VectorInt FindAndSplit(TMtxVec a, String op, TCplx b, TVec MaskVec, TVec NotMaskVec)Finds the masks for a vector and splits it.
2VectorInt FindAndSplit(TMtxVec a, String op, TMtxVec b, TVec MaskVec, TVec NotMaskVec)Finds the masks for a vector and splits it.
3VectorInt 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.

#NameTypeDescription
1aTMtxVecsource TVec or TMtx
2opString
3bTCplxscalar
4MaskVecTVecsource TVec
5NotMaskVecTVecsource 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.

#NameTypeDescription
1aTMtxVecsource TVec or TMtx
2opString
3bTMtxVecsource TVec or TMtx
4MaskVecTVecsource TVec
5NotMaskVecTVecsource 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.

#NameTypeDescription
1aTMtxVecsource TVec or TMtx
2opString
3bDoublescalar
4MaskVecTVecsource TVec
5NotMaskVecTVecsource 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.