MtxExprInt.FindAndSplit Method

Overload List

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

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

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 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, NotMaskVec: TVec): VectorInt; overload;

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: function FindAndSplit(const a: TMtxVec; const op: string; const b: double; const MaskVec, NotMaskVec: TVec): VectorInt; overload;

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.