Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec Divide(TOpenCLMtxVec Vec) | Divide each of calling vector elements with corresponding elements in the Vec object. |
| └ indexed: TOpenCLMtxVec Divide(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 2 | TOpenCLMtxVec Divide(TOpenCLMtxVec Num, TOpenCLMtxVec Den) | Divide each of Num elements with corresponding elements in Den. |
| 3 | TOpenCLMtxVec Divide(TOpenCLMtxVec Num, TOpenCLMtxVec Den, Int32 NumIndex, Int32 DenIndex, Int32 Index, Int32 Len) | Divide [NumIndex]..[NumIndex+Len-1] Num elements with [DenIndex]..[DenIndex+Len-1] elements in Den. |
Overload 1: TOpenCLMtxVec Divide(TOpenCLMtxVec Vec)
Divide each of calling vector elements with corresponding elements in the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Size and Dew.Math.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.
Indexed: TOpenCLMtxVec Divide(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
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 | source TOpenCLVector or TOpenCLMatrix |
| 2 | VecIndex | Int32 | |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Store the result in the claling vector. The Dew.Math.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 2: TOpenCLMtxVec Divide(TOpenCLMtxVec Num, TOpenCLMtxVec Den)
Divide each of Num elements with corresponding elements in Den.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Num | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Den | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Size and Dew.Math.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 Num, TOpenCLMtxVec Den, Int32 NumIndex, Int32 DenIndex, Int32 Index, Int32 Len)
Divide [NumIndex]..[NumIndex+Len-1] Num elements with [DenIndex]..[DenIndex+Len-1] elements in Den.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Num | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Den | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 3 | NumIndex | Int32 | |
| 4 | DenIndex | Int32 | |
| 5 | Index | Int32 | start index |
| 6 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
and store result in the calling vector at positions [Index]..[Index+Len-1] Dew.Math.clVector.Size and Dew.Math.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.