MtxExprInt.FindAndSplit Method

Overload List

#SignatureDescription
1function FindAndSplit(const a: TMtxVec; const op: string; const b: TCplx; const MaskVec: TVec; const NotMaskVec: TVec): VectorInt;Finds the masks for a vector and splits it.
2function FindAndSplit(const a: TMtxVec; const op: string; const b: TMtxVec; const MaskVec: TVec; const NotMaskVec: TVec): VectorInt;Finds the masks for a vector and splits it.
3function FindAndSplit(const a: TMtxVec; const op: string; const b: Double; const MaskVec: TVec; const NotMaskVec: TVec): VectorInt;Finds the masks for a vector and splits it.

Overload 1: function FindAndSplit(const a: TMtxVec; const op: string; const b: TCplx; const MaskVec: TVec; const NotMaskVec: TVec): VectorInt;

Finds the masks for a vector and splits it.

#NameTypeDescription
1aTMtxVec
2opstring
3bTCplx
4MaskVecTVec
5NotMaskVecTVec

Returns: VectorInt

Remarks:

The op can be "<", ">", "=", "<=",">=". The b parameter is of TCplx type. Use ScatterByMask to distribute MaskVec and NotMaskVec back to its location.

Overload 2: function FindAndSplit(const a: TMtxVec; const op: string; const b: TMtxVec; const MaskVec: TVec; const NotMaskVec: TVec): VectorInt;

Finds the masks for a vector and splits it.

#NameTypeDescription
1aTMtxVec
2opstring
3bTMtxVec
4MaskVecTVec
5NotMaskVecTVec

Returns: VectorInt

Remarks:

The op can be "<", ">", "=", "<=",">=". Use ScatterByMask to distribute MaskVec and NotMaskVec back to its location.

Overload 3: function FindAndSplit(const a: TMtxVec; const op: string; const b: Double; const MaskVec: TVec; const NotMaskVec: TVec): VectorInt;

Finds the masks for a vector and splits it.

#NameTypeDescription
1aTMtxVec
2opstring
3bDouble
4MaskVecTVec
5NotMaskVecTVec

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.