Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec *Scale(double Factor) const; | Multiply object elements with Value. |
| 2 | TOpenCLMtxVec *Scale(double Factor, int Index, int Len) const; | Multipy calling object elements [Index]..[Index+Len-1] with Value in-place. |
| 3 | TOpenCLMtxVec *Scale(const TCplx &Factor) const; | Multiply all calling object elements with a complex Value in-place. |
| 4 | TOpenCLMtxVec *Scale(const TCplx &Factor, int Index, int Len) const; | Multipy calling object elements [Index]..[Index+Len-1] with complex Value in-place. |
Overload 1: TOpenCLMtxVec *Scale(double Factor) const;
Multiply object elements with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Factor | double |
Remarks:
Multiply all calling object elements with Value in-place. This method is the same as the clVector::Mul method overloads multiplying with vector elements with a scalar.
See Also: clVector::Add
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 2: TOpenCLMtxVec *Scale(double Factor, int Index, int Len) const;
Multipy calling object elements [Index]..[Index+Len-1] with Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Factor | double | |
| 2 | Index | int | |
| 3 | Len | int |
Remarks:
An exception is raised if array borders are overrun or underrun.
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 3: TOpenCLMtxVec *Scale(const TCplx &Factor) const;
Multiply all calling object elements with a complex Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Factor | const TCplx & |
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 4: TOpenCLMtxVec *Scale(const TCplx &Factor, int Index, int Len) const;
Multipy calling object elements [Index]..[Index+Len-1] with complex Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Factor | const TCplx & | |
| 2 | Index | int | |
| 3 | Len | int |
Remarks:
An exception is raised if array borders are overrun or underrun.
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler