TOpenCLValue::Trunc Method

Overload List

#SignatureDescription
1TOpenCLBase *Trunc(TOpenCLBase *Src, int SrcIndex, int Index, int Len);
2TOpenCLValue *Trunc(TOpenCLValue *Src);Truncate all Src object elements.

Overload 1: TOpenCLBase *Trunc(TOpenCLBase *Src, int SrcIndex, int Index, int Len);

#NameTypeDescription
1SrcTOpenCLBase *
2SrcIndexint
3Indexint
4Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLValue *Trunc(TOpenCLValue *Src);

Truncate all Src object elements.

#NameTypeDescription
1SrcTOpenCLValue *
Remarks:

Stores the result in the calling object. FloatPrecision and TOpenCLBase::Complex property of calling object are adjusted automatically.

Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler