TOpenCLValue::Divide Method

Overload List

#SignatureDescription
1TOpenCLBase *Divide(TOpenCLBase *Num, TOpenCLBase *Den, int NumIndex, int DenIndex, int Index, int Len);
2TOpenCLValue *Divide(TOpenCLValue *Num, TOpenCLValue *Den);Divide Num with Den.

Overload 1: TOpenCLBase *Divide(TOpenCLBase *Num, TOpenCLBase *Den, int NumIndex, int DenIndex, int Index, int Len);

#NameTypeDescription
1NumTOpenCLBase *
2DenTOpenCLBase *
3NumIndexint
4DenIndexint
5Indexint
6Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLValue *Divide(TOpenCLValue *Num, TOpenCLValue *Den);

Divide Num with Den.

#NameTypeDescription
1NumTOpenCLValue *
2DenTOpenCLValue *
Remarks:

FloatPrecision and TOpenCLBase::Complex property of the calling object are set automatically. The result is stored in the calling object.

The result of division by zero will be the INF constant. Division of zero by zero will result in NAN.

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