Overload List
Overload 1: TMtxVecInt *Divide(TMtxVecInt *Num, TMtxVecInt *Den) const;
Divides coresponding elements in Num with Den.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Num | TMtxVecInt * | |
| 2 | Den | TMtxVecInt * |
Returns: the result of dividing Num values with coresponding Den values.
Overload 2: TMtxVecInt *Divide(TMtxVecInt *Num, TMtxVecInt *Den, const int NumIndex, const int DenIndex, const int Index, const int Len) const;
Divide coresponding elements in Num with Den.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Num | TMtxVecInt * | |
| 2 | Den | TMtxVecInt * | |
| 3 | NumIndex | const int | |
| 4 | DenIndex | const int | |
| 5 | Index | const int | |
| 6 | Len | const int |
Divide Num elements [NumIndex..NumIndex+Len-1] with corrresponding Deb elements [DenIndex..DenIndex+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) const;
Divide calling object elements with Src elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * |
Overload 4: TMtxVecInt *Divide(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;
Divide calling object elements with Src elements [SrcIndex..SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | SrcIndex | const int | |
| 3 | Index | const int | |
| 4 | Len | const int |
Divide calling object elements [Index..Index+Len ] with Src elements [SrcIndex..SrcIndex+Len-1]. An exception is raised if array borders are overrun.
Overload 5: TMtxVecInt *Divide(TMtxVecInt *Src, const int Value) const;
Divide all Src vector elements with integer Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Value | const int |
Size of calling vector is adjusted automatically.
Overload 6: TMtxVecInt *Divide(TMtxVecInt *Src, const int Value, const int SrcIndex, const int Index, const int Len) const;
Divide Src vector elements [SrcIndex..SrcIndex+Len-1] with integer Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Value | const int | |
| 3 | SrcIndex | const int | |
| 4 | Index | const int | |
| 5 | Len | const 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(const int Value) const;
Divide all calling vector elements with integer value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const int |
Overload 8: TMtxVecInt *Divide(const int Value, const int Index, const int Len) const;
Divide calling vector elements [Index..Index+Len-1] with integer value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const int | |
| 2 | Index | const int | |
| 3 | Len | const int |
An exception is raised if array borders are overrun.
Overload 9: TMtxVecInt *Divide(TMtxVecInt *X, TMtxVecInt *Y, TMtxVecInt *Z) const;
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) const;
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) const;
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) const;
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 |