MtxExprInt::FindAndSplit Function

Overload List

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

Overload 1: VectorInt FindAndSplit(TMtxVec *a, const DewString &op, TMtxVec *b, TVec *MaskVec, TVec *NotMaskVec);

Finds the masks for a vector and splits it.

#NameTypeDescription
1aTMtxVec *
2opconst DewString &
3bTMtxVec *
4MaskVecTVec *
5NotMaskVecTVec *
Remarks:

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

Declared in Dew::Math::Units::MtxExprInt · Dew.Math/Units.MtxExprInt.h · Cross-compiler

Overload 2: VectorInt FindAndSplit(TMtxVec *a, const DewString &op, const TCplx &b, TVec *MaskVec, TVec *NotMaskVec);

Finds the masks for a vector and splits it.

#NameTypeDescription
1aTMtxVec *
2opconst DewString &
3bconst TCplx &
4MaskVecTVec *
5NotMaskVecTVec *
Remarks:

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

Declared in Dew::Math::Units::MtxExprInt · Dew.Math/Units.MtxExprInt.h · Cross-compiler

Overload 3: VectorInt FindAndSplit(TMtxVec *a, const DewString &op, const double b, TVec *MaskVec, TVec *NotMaskVec);

Finds the masks for a vector and splits it.

#NameTypeDescription
1aTMtxVec *
2opconst DewString &
3bconst double
4MaskVecTVec *
5NotMaskVecTVec *
Remarks:

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

Declared in Dew::Math::Units::MtxExprInt · Dew.Math/Units.MtxExprInt.h · Cross-compiler