Overload List
Overload 1: TOpenCLMtxVec *SubFrom(double Value) const;
Subtraction from value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double |
Subtract each of calling object elements from Value.
Overload 2: TOpenCLMtxVec *SubFrom(TCplx Value) const;
Subtract each of calling object elements from complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx |
If the calling vector s not complex, the conversion is performed automatically in a performance efficient way.
Overload 3: TOpenCLMtxVec *SubFrom(double Value, int Index, int Len) const;
Subtract elements [Index]..[Index+Len-1] from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | |
| 2 | Index | int | |
| 3 | Len | int |
Store the result in calling vector. An exception is raised if array borders are overrun or underrun.
Overload 4: TOpenCLMtxVec *SubFrom(TCplx Value, int Index, int Len) const;
Subtract elements [Index]..[Index+Len-1] from complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | |
| 2 | Index | int | |
| 3 | Len | int |
Store the result in calling object. If the calling vector is not complex, the conversion to complex is performed automatically in performance efficient way. An exception is raised if array borders are overrun or underrun.
Overload 5: TOpenCLMtxVec *SubFrom(double Value, TOpenCLMtxVec *Vec) const;
Substract Vec elements from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | |
| 2 | Vec | TOpenCLMtxVec * |
Stores the result in the calling object. Size and clMatrix::Complex properties of calling object are adjusted automatically.
Overload 6: TOpenCLMtxVec *SubFrom(TCplx Value, TOpenCLMtxVec *Vec) const;
Substract complex Vec elements from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | |
| 2 | Vec | TOpenCLMtxVec * |
Stores the result in the calling object. Size property of the calling object is set automatically. clMatrix::Complex property of the calling object is set to True.
Overload 7: TOpenCLMtxVec *SubFrom(double Value, TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len) const;
Substract Vec elements [VecIndex]..[VecIndex+Len-1] from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | |
| 2 | Vec | TOpenCLMtxVec * | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Stores the result to the calling object elements [Index]..[Index+Len-1]. Size property of the calling object is not changed. An exception is raised if array borders are overrun or underrun. clMatrix::Complex property of the calling object is adjusted automatically.
Overload 8: TOpenCLMtxVec *SubFrom(TCplx Value, TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len) const;
Substract Vec elements [VecIndex]..[VecIndex+Len-1] from complex Value and store the result to the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | |
| 2 | Vec | TOpenCLMtxVec * | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Size property of the calling object is not changed. An exception is raised if array borders are overrun or underrun. clMatrix::Complex property of the calling object is set to True.