TOpenCLValue::SinCos Method

Overload List

#SignatureDescription
1void SinCos(TOpenCLBase *SinX, TOpenCLBase *CosX, int SinXIndex, int CosXIndex, int Index, int Len);
2void SinCos(TOpenCLValue *SinX, TOpenCLValue *CosX);Sine and cosine.

Overload 1: void SinCos(TOpenCLBase *SinX, TOpenCLBase *CosX, int SinXIndex, int CosXIndex, int Index, int Len);

#NameTypeDescription
1SinXTOpenCLBase *
2CosXTOpenCLBase *
3SinXIndexint
4CosXIndexint
5Indexint
6Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: void SinCos(TOpenCLValue *SinX, TOpenCLValue *CosX);

Sine and cosine.

#NameTypeDescription
1SinXTOpenCLValue *
2CosXTOpenCLValue *
Remarks:

Calculates the sine and cosine of the value stored in the calling object. FloatPrecision and TOpenCLBase::Complex property of SinX and CosX are adjusted automatically.

Note
Use this method if you require both sine and cosine.

See Also: TOpenCLValue::Sin, TOpenCLValue::Cos
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler