Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec *Divide(TOpenCLMtxVec *Num, TOpenCLMtxVec *Den) const; | Divide each of Num elements with corresponding elements in Den. |
| 2 | TOpenCLMtxVec *Divide(TOpenCLMtxVec *Vec) const; | Divide each of calling vector elements with corresponding elements in the Vec object. |
| 3 | TOpenCLMtxVec *Divide(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len) const; | Divide calling vector elements [Index]...[Index+Len-1] with corresponding elements [VecIndex]...[VecIndex+Len-1] from the Vec object. |
| 4 | TOpenCLMtxVec *Divide(TOpenCLMtxVec *Num, TOpenCLMtxVec *Den, int NumIndex, int DenIndex, int Index, int Len) const; | Divide [NumIndex]..[NumIndex+Len-1] Num elements with [DenIndex]..[DenIndex+Len-1] elements in Den. |
Overload 1: TOpenCLMtxVec *Divide(TOpenCLMtxVec *Num, TOpenCLMtxVec *Den) const;
Divide each of Num elements with corresponding elements in Den.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Num | TOpenCLMtxVec * | |
| 2 | Den | TOpenCLMtxVec * |
Size and clVector::Complex property of the calling object are set automatically. The result is stored in the calling object.
The result of division by zero will be the INF constant. Division of zero by zero will result in NAN.
Overload 2: TOpenCLMtxVec *Divide(TOpenCLMtxVec *Vec) const;
Divide each of calling vector elements with corresponding elements in the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * |
Size and clVector::Complex property of the calling object are set automatically. The result is stored in the calling object.
The result of division by zero will be the INF constant. Division of zero by zero will result in NAN.
Overload 3: TOpenCLMtxVec *Divide(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len) const;
Divide calling vector elements [Index]...[Index+Len-1] with corresponding elements [VecIndex]...[VecIndex+Len-1] from the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Store the result in the claling vector. The TMtxVecBase::Length of the calling vector is not changed. An exception is raised if array borders are overrun or underrun.
The result of division by zero will be the INF constant. Division of zero by zero will result in NAN.
Overload 4: TOpenCLMtxVec *Divide(TOpenCLMtxVec *Num, TOpenCLMtxVec *Den, int NumIndex, int DenIndex, int Index, int Len) const;
Divide [NumIndex]..[NumIndex+Len-1] Num elements with [DenIndex]..[DenIndex+Len-1] elements in Den.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Num | TOpenCLMtxVec * | |
| 2 | Den | TOpenCLMtxVec * | |
| 3 | NumIndex | int | |
| 4 | DenIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
and store result in the calling vector at positions [Index]..[Index+Len-1] clVector::Size and clVector::Complex property of the calling object are not changed. An exception is raised if array borders are overrun or underrun.
The result of division by zero will be the INF constant. Division of zero by zero will result in NAN.