Overload List
Overload 1: TOpenCLBase *Sub(TOpenCLBase *Vec, int VecIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLBase * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Overload 2: TOpenCLBase *Sub(TOpenCLBase *Vec1, TOpenCLBase *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLBase * | |
| 2 | Vec2 | TOpenCLBase * | |
| 3 | Vec1Index | int | |
| 4 | Vec2Index | int | |
| 5 | Index | int | |
| 6 | Len | int |
Overload 3: TOpenCLMtxVec *Sub(const double Value);
Subtracts Value from object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double |
Subtracts Value from all calling object elements.
Overload 4: TOpenCLMtxVec *Sub(const TCplx &Value);
Subtracts complex Value from all calling object complex elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & |
Overload 5: TOpenCLMtxVec *Sub(const double Value, int Index, int Len);
Subtracts Value from calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
Overload 6: TOpenCLMtxVec *Sub(const TCplx &Value, int Index, int Len);
Subtracts complex Value from calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
Overload 7: TOpenCLMtxVec *Sub(TOpenCLMtxVec *Src, const double Value);
Subtract real Value from Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec * | |
| 2 | Value | const double |
Store the results in calling object. Size and TOpenCLBase::Complex property of calling object are adjusted automatically.
Overload 8: TOpenCLMtxVec *Sub(TOpenCLMtxVec *Src, const TCplx &Value);
Subtract complex Value from Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec * | |
| 2 | Value | const TCplx & |
Store the results in calling object. Size and TOpenCLBase::Complex property of calling object are adjusted automatically.
Overload 9: TOpenCLMtxVec *Sub(TOpenCLMtxVec *Src, const double Value, int SrcIndex, int Index, int Len);
Subtract real Value from Src elements [SrcIndex]..[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec * | |
| 2 | Value | const double | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Stores the result in calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.
Overload 10: TOpenCLMtxVec *Sub(TOpenCLMtxVec *Src, const TCplx &Value, int SrcIndex, int Index, int Len);
Subtract complex Value from Src elements [SrcIndex]..[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec * | |
| 2 | Value | const TCplx & | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Stores the result in calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.
Overload 11: TOpenCLMtxVec *Sub(TOpenCLMtxVec *Vec);
Array subtraction.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * |
Subtract each of Vec elements from corresponding elements in the calling object. An exception is raised if Vec and calling object size and TOpenCLBase::Complex properties do not match.
Overload 12: TOpenCLMtxVec *Sub(TOpenCLMtxVec *Vec1, TOpenCLMtxVec *Vec2);
Subtract Vec2 elements from Vec1 elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLMtxVec * | |
| 2 | Vec2 | TOpenCLMtxVec * |
Stores the results in calling object. Size and TOpenCLBase::Complex property of calling object are adjusted automatically. An exception is raised if Vec1 and Vec2 size and TOpenCLBase::Complex property do not match.
Overload 13: TOpenCLMtxVec *Sub(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len);
Subtract Vec elements [VecIndex]..[VecIndex+Len-1] from corresponding calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.
Overload 14: TOpenCLMtxVec *Sub(TOpenCLMtxVec *Vec1, TOpenCLMtxVec *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);
Subtract Vec22 elements [Vec2Index]..[Vec2Index+Len-1] from Vec1 object elements [Vec1Index]..[Vec1Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLMtxVec * | |
| 2 | Vec2 | TOpenCLMtxVec * | |
| 3 | Vec1Index | int | |
| 4 | Vec2Index | int | |
| 5 | Index | int | |
| 6 | Len | int |
Stores the results in calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.