Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec Mul(TCplx Value) | Multiply all calling object elements with complex Value in-place. |
| └ indexed: TOpenCLMtxVec Mul(TCplx Value, Int32 Index, Int32 Len) | ||
| 2 | TOpenCLMtxVec Mul(TOpenCLMtxVec Vec) | Vector multiplication. |
| └ indexed: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 3 | TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, TCplx Value) | Multiply each element of Vec with complex Value. |
| └ indexed: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, TCplx Value, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 4 | TOpenCLMtxVec Mul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2) | Multiply all Vec1 elements with corresponding Vec2 elements. |
| └ indexed: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len) | ||
| 5 | TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, Double Value) | Multiply each element of Vec with Value. |
| └ indexed: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, Double Value, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 6 | TOpenCLMtxVec Mul(Double Value) | Multiply object elements with Value. |
| └ indexed: TOpenCLMtxVec Mul(Double Value, Int32 Index, Int32 Len) |
Overload 1: TOpenCLMtxVec Mul(TCplx Value)
Multiply all calling object elements with complex Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TOpenCLMtxVec Mul(TCplx Value, Int32 Index, Int32 Len)
Multipy calling object elements [Index]..[Index+Len-1] with complex Value in-place.
| # | 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 or underrun.
Overload 2: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec)
Vector multiplication.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Multiply each of Vec elements with corresponding elements in the calling object. Size and Dew.Math.clVector.Complex property of the calling object are set automatically. The result is stored in the calling object.
Indexed: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1] in-place.
| # | 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
An exception is raised if Vec and calling object Dew.Math.clVector.Complex property do not match or if array borders are overrun/underrun.
Overload 3: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, TCplx Value)
Multiply each element of Vec with complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Store the result in the calling object. Size of the calling object is set automatically. Dew.Math.clVector.Complex property of the calling object is set to True.
Indexed: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, TCplx Value, Int32 VecIndex, Int32 Index, Int32 Len)
Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | TCplx | scalar |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
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. Dew.Math.clVector.Complex propertiy of the calling object is set to True.
Overload 4: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2)
Multiply all Vec1 elements with corresponding Vec2 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
Store the results in calling object. Size and Dew.Math.clVector.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 Dew.Math.clVector.Complex property do not match.
Indexed: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len)
Multiply Vec1 elements [Vec1Index]..[Vec1Index+Len-1] with Vec2 object elements [Vec2Index]..[Vec2Index+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
Store the results in calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.clVector.Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.
Overload 5: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, Double Value)
Multiply each element of Vec with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Store the result in the calling object. Size and Dew.Math.clVector.Complex properties of the calling object are adjusted automatically.
Indexed: TOpenCLMtxVec Mul(TOpenCLMtxVec Vec, Double Value, Int32 VecIndex, Int32 Index, Int32 Len)
Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | Double | scalar |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
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. Dew.Math.clVector.Complex propertiy of the calling object is set implicitly.
Overload 6: TOpenCLMtxVec Mul(Double Value)
Multiply object elements with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Multiplies all calling object elements with Value in-place.
clVector v;
v.CopyFromArray(TSingleArray.Create(2,3,5)); // v = new double[] {2,3,5}
v.Mul(3); // v = new double[] {6,9,15}
Indexed: TOpenCLMtxVec Mul(Double Value, Int32 Index, Int32 Len)
Multipy calling object elements [Index]..[Index+Len-1] with Value in-place.
| # | 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 or underrun.