MatrixInt::Subtract Method

Overload List

#SignatureDescription
1TMtxVecInt *Subtract(TMtxVecInt *Src1, TMtxVecInt *Src2) const;Subtract coresponding elements in Src2 from Src1.
2TMtxVecInt *Subtract(TMtxVecInt *Src1, TMtxVecInt *Src2, const int src1Index, const int Src2Index, const int Index, const int Len) const;Add coresponding elements in Src1 from Src1.
3TMtxVecInt *Subtract(TMtxVecInt *Src) const;Subtract all Src elements from calling vector elements.
4TMtxVecInt *Subtract(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;Subtract Src elements [SrcIndex..SrcIndex+Len-1] from calling vector elements.
5TMtxVecInt *Subtract(TMtxVecInt *Src, const int Value) const;Subtract integer Value from all Src elements.
6TMtxVecInt *Subtract(TMtxVecInt *Src, const int Value, const int SrcIndex, const int Index, const int Len) const;Subtract integer Value from Src elements [SrcIndex..SrcIndex+Len-1].
7TMtxVecInt *Subtract(const int Value) const;Subtract integer value from all calling vector elements.
8TMtxVecInt *Subtract(const int Value, const int Index, const int Len) const;Subtract integer value from calling vector elements [Index..Index+Len-1].

Overload 1: TMtxVecInt *Subtract(TMtxVecInt *Src1, TMtxVecInt *Src2) const;

Subtract coresponding elements in Src2 from Src1.

#NameTypeDescription
1Src1TMtxVecInt *
2Src2TMtxVecInt *

Returns: the result of subtracting Src2 values from coresponding Src1 values.

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

Overload 2: TMtxVecInt *Subtract(TMtxVecInt *Src1, TMtxVecInt *Src2, const int src1Index, const int Src2Index, const int Index, const int Len) const;

Add coresponding elements in Src1 from Src1.

#NameTypeDescription
1Src1TMtxVecInt *
2Src2TMtxVecInt *
3src1Indexconst int
4Src2Indexconst int
5Indexconst int
6Lenconst int
Remarks:

Subtract Src2 elements [Src2Index..Src2Index+Len-1] from corrresponding Src1 elements [Src1Index..Src1ndex+Len] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

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

Overload 3: TMtxVecInt *Subtract(TMtxVecInt *Src) const;

Subtract all Src elements from calling vector elements.

#NameTypeDescription
1SrcTMtxVecInt *
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 4: TMtxVecInt *Subtract(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;

Subtract Src elements [SrcIndex..SrcIndex+Len-1] from calling vector elements.

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexconst int
3Indexconst int
4Lenconst int
Remarks:

Subtract Src elements [SrcIndex..SrcIndex+Len-1] from calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

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

Overload 5: TMtxVecInt *Subtract(TMtxVecInt *Src, const int Value) const;

Subtract integer Value from all Src elements.

#NameTypeDescription
1SrcTMtxVecInt *
2Valueconst int
Remarks:

Subtract integer Value from all Src elements and store the results in calling vector. Size of calling vector is adjusted automatically.

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

Overload 6: TMtxVecInt *Subtract(TMtxVecInt *Src, const int Value, const int SrcIndex, const int Index, const int Len) const;

Subtract integer Value from Src elements [SrcIndex..SrcIndex+Len-1].

#NameTypeDescription
1SrcTMtxVecInt *
2Valueconst int
3SrcIndexconst int
4Indexconst int
5Lenconst int
Remarks:

Subtract integer Value from Src elements [SrcIndex..SrcIndex+Len-1] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

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

Overload 7: TMtxVecInt *Subtract(const int Value) const;

Subtract integer value from all calling vector elements.

#NameTypeDescription
1Valueconst int
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 8: TMtxVecInt *Subtract(const int Value, const int Index, const int Len) const;

Subtract integer value from calling vector elements [Index..Index+Len-1].

#NameTypeDescription
1Valueconst int
2Indexconst int
3Lenconst int
Remarks:

An exception is raised if array borders are overrun.

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