Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void SinCos(TOpenCLBase *SinX, TOpenCLBase *CosX, int SinXIndex, int CosXIndex, int Index, int Len); | |
| 2 | void SinCos(TOpenCLMtxVec *SinX, TOpenCLMtxVec *CosX); | Sine and cosine. |
| 3 | void SinCos(TOpenCLMtxVec *SinX, TOpenCLMtxVec *CosX, int SinXIndex, int CosXIndex, int Index, int Len); | Calculates the sine and cosine for calling object elements [Index]..[Index+Len-1]. |
Overload 1: void SinCos(TOpenCLBase *SinX, TOpenCLBase *CosX, int SinXIndex, int CosXIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SinX | TOpenCLBase * | |
| 2 | CosX | TOpenCLBase * | |
| 3 | SinXIndex | int | |
| 4 | CosXIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: void SinCos(TOpenCLMtxVec *SinX, TOpenCLMtxVec *CosX);
Sine and cosine.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SinX | TOpenCLMtxVec * | |
| 2 | CosX | TOpenCLMtxVec * |
Remarks:
Calculates the sine and cosine for all calling object elements and stores the sines to SinX and cosines to CosX. Size and TOpenCLBase::Complex property of SinX and CosX are adjusted automatically.
Note
Use this method if you require both sine and cosine.
See Also: TOpenCLMatrix::Sin, TOpenCLMatrix::Cos
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler
Overload 3: void SinCos(TOpenCLMtxVec *SinX, TOpenCLMtxVec *CosX, int SinXIndex, int CosXIndex, int Index, int Len);
Calculates the sine and cosine for calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SinX | TOpenCLMtxVec * | |
| 2 | CosX | TOpenCLMtxVec * | |
| 3 | SinXIndex | int | |
| 4 | CosXIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Remarks:
stores the sines to SinX elemets [SinXIndex]..[SinXIndex+Len-1] and cosines to CosX elements [CosXIndex]..[CosXIndex+Len-1] elements. Size and TOpenCLBase::Complex property of SinX and CosX objects are not set automatically. An exception is raised if array borders are overrun/underun.
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler