Overload List
Overload 1: TMtxVecInt *Divide(TMtxVecInt *Src1, TMtxVecInt *Src2);
Divides coresponding elements in Src1 with Src2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TMtxVecInt * | |
| 2 | Src2 | TMtxVecInt * |
Returns: the result of dividing Src1 values with coresponding Src2 values.
Overload 2: TMtxVecInt *Divide(TMtxVecInt *Src1, TMtxVecInt *Src2, int SrcIndex1, int SrcIndex2, int Index, int Len);
Divide coresponding elements in Src1 with Src2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TMtxVecInt * | |
| 2 | Src2 | TMtxVecInt * | |
| 3 | SrcIndex1 | int | |
| 4 | SrcIndex2 | int | |
| 5 | Index | int | |
| 6 | Len | int |
Divide Src2 elements [Src2Index..Src2Index+Len-1] with corrresponding Src1 elements [Src1Index..Src1ndex+Len-1] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.
Overload 3: TMtxVecInt *Divide(TMtxVecInt *Src);
Divide calling object elements with Src elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * |
Overload 4: TMtxVecInt *Divide(TMtxVecInt *Src, int SrcIndex, int Index, int Len);
Divide calling object elements with Src elements [SrcIndex..SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | SrcIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Divide calling object elements [Index..Index+Len-1] with Src elements [SrcIndex..SrcIndex+Len-1]. An exception is raised if array borders are overrun.
Overload 5: TMtxVecInt *Divide(TMtxVecInt *Src, int Value);
Divide all Src vector elements with integer Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Value | int |
Size of calling vector is adjusted automatically.
Overload 6: TMtxVecInt *Divide(TMtxVecInt *Src, int Value, int SrcIndex, int Index, int Len);
Divide Src vector elements [SrcIndex..SrcIndex+Len-1] with integer Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Value | int | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Divide Src elements [SrcIndex..SrcIndex+Len-1] with integer Value and store tje results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.
Overload 7: TMtxVecInt *Divide(int Value);
Divide all calling vector elements with integer value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | int |
Overload 8: TMtxVecInt *Divide(int Value, int Index, int Len);
Divide calling vector elements [Index..Index+Len-1] with integer value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | int | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
Overload 9: TMtxVecInt *Divide(TMtxVecInt *X, TMtxVecInt *Y, TMtxVecInt *Z);
Compute X / (Y*Z)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt * | |
| 2 | Y | TMtxVecInt * | |
| 3 | Z | TMtxVecInt * |
The following expression would also run at the same or higher speed, when passing Y also for the Z parameter:
X / (Y^2)
Overload 10: TMtxVecInt *Divide(TMtxVecInt *X, int XIndex, TMtxVecInt *Y, int YIndex, TMtxVecInt *Z, int zIndex, int Index, int Len);
Compute X/( Y*Z ) on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt * | |
| 2 | XIndex | int | |
| 3 | Y | TMtxVecInt * | |
| 4 | YIndex | int | |
| 5 | Z | TMtxVecInt * | |
| 6 | zIndex | int | |
| 7 | Index | int | |
| 8 | Len | int |
Overload 11: TMtxVecInt *Divide(const int X, TMtxVecInt *Y, TMtxVecInt *Z);
Compute xScalar / (Y*Z)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | const int | |
| 2 | Y | TMtxVecInt * | |
| 3 | Z | TMtxVecInt * |
Overload 12: TMtxVecInt *Divide(const int X, TMtxVecInt *Y, int YIndex, TMtxVecInt *Z, int zIndex, int Index, int Len);
Compute xScalar / (Y*Z) on sub array
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | const int | |
| 2 | Y | TMtxVecInt * | |
| 3 | YIndex | int | |
| 4 | Z | TMtxVecInt * | |
| 5 | zIndex | int | |
| 6 | Index | int | |
| 7 | Len | int |