Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec *SetVal(double Value) const; | Initialize elements to Value. |
| 2 | TOpenCLMtxVec *SetVal(double Value, int Index, int Len) const; | Set all calling object elements [Index]..[Index+Len-1] to real Value. |
| 3 | TOpenCLMtxVec *SetVal(TCplx Value) const; | Set all calling object complex elements to complex Value. |
| 4 | TOpenCLMtxVec *SetVal(TCplx Value, int Index, int Len) const; | Set calling object complex elements [Index]..[Index+Len-1] to complex Value. |
Overload 1: TOpenCLMtxVec *SetVal(double Value) const;
Initialize elements to Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double |
Remarks:
Set all calling object elements to Value. If the calling object is complex then the real part is set to Value and the imaginary is set to zero.
See Also: clMatrix::SetZero
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 2: TOpenCLMtxVec *SetVal(double Value, int Index, int Len) const;
Set all calling object elements [Index]..[Index+Len-1] to real Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | |
| 2 | Index | int | |
| 3 | Len | int |
Remarks:
If the calling object is complex then the real part is set to Value and the imaginary is set to zero. An exception is raised if array borders are overrun/underrun.
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 3: TOpenCLMtxVec *SetVal(TCplx Value) const;
Set all calling object complex elements to complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx |
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 4: TOpenCLMtxVec *SetVal(TCplx Value, int Index, int Len) const;
Set calling object complex elements [Index]..[Index+Len-1] to complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | |
| 2 | Index | int | |
| 3 | Len | int |
Remarks:
clMatrix::Complex property of the calling object are set to true even before the call it was false. An exception is raised if calling object array borders are overrun/underrun.
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler