Overload List
Overload 1: TMtxVecInt *Subtract(TMtxVecInt *Src1, TMtxVecInt *Src2) const;
Subtract coresponding elements in Src2 from Src1.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TMtxVecInt * | |
| 2 | Src2 | TMtxVecInt * |
Returns: the result of subtracting Src2 values from coresponding Src1 values.
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TMtxVecInt * | |
| 2 | Src2 | TMtxVecInt * | |
| 3 | src1Index | const int | |
| 4 | Src2Index | const int | |
| 5 | Index | const int | |
| 6 | Len | const int |
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.
Overload 3: TMtxVecInt *Subtract(TMtxVecInt *Src) const;
Subtract all Src elements from calling vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * |
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | SrcIndex | const int | |
| 3 | Index | const int | |
| 4 | Len | const int |
Subtract Src elements [SrcIndex..SrcIndex+Len-1] from calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.
Overload 5: TMtxVecInt *Subtract(TMtxVecInt *Src, const int Value) const;
Subtract integer Value from all Src elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Value | const int |
Subtract integer Value from all Src elements and store the results in calling vector. Size of calling vector is adjusted automatically.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Value | const int | |
| 3 | SrcIndex | const int | |
| 4 | Index | const int | |
| 5 | Len | const int |
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.
Overload 7: TMtxVecInt *Subtract(const int Value) const;
Subtract integer value from all calling vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const int |
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const int | |
| 2 | Index | const int | |
| 3 | Len | const int |
An exception is raised if array borders are overrun.