Overload List
Overload 1: TOpenCLBase *Mul(TOpenCLBase *Vec, const double Value, int VecIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLBase * | |
| 2 | Value | const double | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Overload 2: TOpenCLBase *Mul(TOpenCLBase *Vec, const TCplx &Value, int VecIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLBase * | |
| 2 | Value | const TCplx & | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Overload 3: TOpenCLBase *Mul(TOpenCLBase *Vec, int VecIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLBase * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Overload 4: TOpenCLBase *Mul(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 5: TOpenCLMtxVec *Mul(TOpenCLMtxVec *Vec1, TOpenCLMtxVec *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);
Multiply Vec1 elements [Vec1Index]..[Vec1Index+Len-1] with Vec2 object elements [Vec2Index]..[Vec2Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLMtxVec * | |
| 2 | Vec2 | TOpenCLMtxVec * | |
| 3 | Vec1Index | int | |
| 4 | Vec2Index | int | |
| 5 | Index | int | |
| 6 | Len | int |
Store 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.
Overload 6: TOpenCLMtxVec *Mul(TOpenCLMtxVec *Src1, TOpenCLMtxVec *Src2);
Multiply all Vec1 elements with corresponding Vec2 elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TOpenCLMtxVec * | |
| 2 | Src2 | TOpenCLMtxVec * |
Store the results in calling object. Size and TOpenCLBase::Complex property of calling object are adjusted automatically to match those of Vec1 and Vec2. An exception is raised if Vec1 and Vec2 size and TOpenCLBase::Complex property do not match.
Overload 7: TOpenCLMtxVec *Mul(TOpenCLMtxVec *Vec);
Vector multiplication.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * |
Multiply each of Vec elements with corresponding elements in the calling object. Size and TOpenCLBase::Complex property of the calling object are set automatically. The result is stored in the calling object.
Overload 8: TOpenCLMtxVec *Mul(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len);
Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1] in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
An exception is raised if Vec and calling object TOpenCLBase::Complex property do not match or if array borders are overrun/underrun.
Overload 9: TOpenCLMtxVec *Mul(const double Value);
Multiply object elements with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double |
Multiplies all calling object elements with Value in-place.
Overload 10: TOpenCLMtxVec *Mul(const TCplx &Value);
Multiply all calling object elements with complex Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & |
Overload 11: TOpenCLMtxVec *Mul(const double Value, int Index, int Len);
Multipy calling object elements [Index]..[Index+Len-1] with Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun or underrun.
Overload 12: TOpenCLMtxVec *Mul(const TCplx &Value, int Index, int Len);
Multipy calling object elements [Index]..[Index+Len-1] with complex Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun or underrun.
Overload 13: TOpenCLMtxVec *Mul(TOpenCLMtxVec *Vec, const double Value);
Multiply each element of Vec with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | Value | const double |
Store the result in the calling object. Size and TOpenCLBase::Complex properties of the calling object are adjusted automatically.
Overload 14: TOpenCLMtxVec *Mul(TOpenCLMtxVec *Vec, const TCplx &Value);
Multiply each element of Vec with complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | Value | const TCplx & |
Store the result in the calling object. Size of the calling object is set automatically. TOpenCLBase::Complex property of the calling object is set to True.
Overload 15: TOpenCLMtxVec *Mul(TOpenCLMtxVec *Vec, const double Value, int VecIndex, int Index, int Len);
Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | Value | const double | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Store the result in calling object elements [Index]..[Index+Len-1]. Size of the calling object is not changed. An exception is raised if array borders are overrun or underrun. TOpenCLBase::Complex propertiy of the calling object is set implicitly.
Overload 16: TOpenCLMtxVec *Mul(TOpenCLMtxVec *Vec, const TCplx &Value, int VecIndex, int Index, int Len);
Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | Value | const TCplx & | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Store the result in calling object elements [Index]..[Index+Len-1]. Size of the calling object is not changed. An exception is raised if array borders are overrun or underrun. TOpenCLBase::Complex propertiy of the calling object is set to True.