Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec Sub(TCplx Value) | Subtracts complex Value from all calling object complex elements. |
| └ indexed: TOpenCLMtxVec Sub(TCplx Value, Int32 Index, Int32 Len) | ||
| 2 | TOpenCLMtxVec Sub(TOpenCLMtxVec Vec) | Array subtraction. |
| └ indexed: TOpenCLMtxVec Sub(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 3 | TOpenCLMtxVec Sub(TOpenCLMtxVec Src, TCplx Value) | Subtract complex Value from Src. |
| └ indexed: TOpenCLMtxVec Sub(TOpenCLMtxVec Src, TCplx Value, Int32 SrcIndex, Int32 Index, Int32 Len) | ||
| 4 | TOpenCLMtxVec Sub(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2) | Subtract Vec2 elements from Vec1 elements. |
| └ indexed: TOpenCLMtxVec Sub(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len) | ||
| 5 | TOpenCLMtxVec Sub(TOpenCLMtxVec Src, Double Value) | Subtract real Value from Src. |
| └ indexed: TOpenCLMtxVec Sub(TOpenCLMtxVec Src, Double Value, Int32 SrcIndex, Int32 Index, Int32 Len) | ||
| 6 | TOpenCLMtxVec Sub(Double Value) | Subtracts Value from object elements. |
| └ indexed: TOpenCLMtxVec Sub(Double Value, Int32 Index, Int32 Len) |
Overload 1: TOpenCLMtxVec Sub(TCplx Value)
Subtracts complex Value from all calling object complex elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TOpenCLMtxVec Sub(TCplx Value, Int32 Index, Int32 Len)
Subtracts complex Value from calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun.
Overload 2: TOpenCLMtxVec Sub(TOpenCLMtxVec Vec)
Array subtraction.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Subtract each of Vec elements from corresponding elements in the calling object. An exception is raised if Vec and calling object size and Dew.Math.clMatrix.Complex properties do not match.
Indexed: TOpenCLMtxVec Sub(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
Subtract Vec elements [VecIndex]..[VecIndex+Len-1] from corresponding calling object elements [Index]..[Index+Len-1].
| # | 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
The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.clMatrix.Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.
Overload 3: TOpenCLMtxVec Sub(TOpenCLMtxVec Src, TCplx Value)
Subtract complex Value from Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Store the results in calling object. Size and Dew.Math.clMatrix.Complex property of calling object are adjusted automatically.
Indexed: TOpenCLMtxVec Sub(TOpenCLMtxVec Src, TCplx Value, Int32 SrcIndex, Int32 Index, Int32 Len)
Subtract complex Value from Src elements [SrcIndex]..[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | TCplx | scalar |
| 3 | SrcIndex | Int32 | source start index |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Stores the result in calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.clMatrix.Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.
Overload 4: TOpenCLMtxVec Sub(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2)
Subtract Vec2 elements from Vec1 elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Vec2 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Stores the results in calling object. Size and Dew.Math.clMatrix.Complex property of calling object are adjusted automatically. An exception is raised if Vec1 and Vec2 size and Dew.Math.clMatrix.Complex property do not match.
Indexed: TOpenCLMtxVec Sub(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len)
Subtract Vec22 elements [Vec2Index]..[Vec2Index+Len-1] from Vec1 object elements [Vec1Index]..[Vec1Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Vec2 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 3 | Vec1Index | Int32 | |
| 4 | Vec2Index | Int32 | |
| 5 | Index | Int32 | start index |
| 6 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Stores the results in calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.clMatrix.Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.
Overload 5: TOpenCLMtxVec Sub(TOpenCLMtxVec Src, Double Value)
Subtract real Value from Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Store the results in calling object. Size and Dew.Math.clMatrix.Complex property of calling object are adjusted automatically.
Indexed: TOpenCLMtxVec Sub(TOpenCLMtxVec Src, Double Value, Int32 SrcIndex, Int32 Index, Int32 Len)
Subtract real Value from Src elements [SrcIndex]..[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | Double | scalar |
| 3 | SrcIndex | Int32 | source start index |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Stores the result in calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.clMatrix.Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.
Overload 6: TOpenCLMtxVec Sub(Double Value)
Subtracts Value from object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Subtracts Value from all calling object elements.
Indexed: TOpenCLMtxVec Sub(Double Value, Int32 Index, Int32 Len)
Subtracts Value from calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun.