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