TOpenCLMatrix::Sgn Method

Overload List

#SignatureDescription
1TOpenCLBase *Sgn(TOpenCLBase *Src, int SrcIndex, int Index, int Len);
2TOpenCLMtxVec *Sgn();Computes signum function of calling object elements.
3TOpenCLMtxVec *Sgn(int Index, int Len);Computes signum function of calling object elements [Index..Index+Len-1].
4TOpenCLMtxVec *Sgn(TOpenCLMtxVec *Src);Computes signum function from Src elements and stores the result in the calling object.
5TOpenCLMtxVec *Sgn(TOpenCLMtxVec *Src, int SrcIndex, int Index, int Len);Computes signum function from Src elements [SrcIndex..SrcIndex+Len-1] and stores the result in the calling object [Index..Index+Len-1].

Overload 1: TOpenCLBase *Sgn(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: TOpenCLMtxVec *Sgn();

Computes signum function of calling object elements.

Remarks:

Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0.

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

Overload 3: TOpenCLMtxVec *Sgn(int Index, int Len);

Computes signum function of calling object elements [Index..Index+Len-1].

#NameTypeDescription
1Indexint
2Lenint
Remarks:

Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0.

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

Overload 4: TOpenCLMtxVec *Sgn(TOpenCLMtxVec *Src);

Computes signum function from Src elements and stores the result in the calling object.

#NameTypeDescription
1SrcTOpenCLMtxVec *
Remarks:

Size and TOpenCLBase::Complex properties of calling object are adjusted automatically. Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0.

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

Overload 5: TOpenCLMtxVec *Sgn(TOpenCLMtxVec *Src, int SrcIndex, int Index, int Len);

Computes signum function from Src elements [SrcIndex..SrcIndex+Len-1] and stores the result in the calling object [Index..Index+Len-1].

#NameTypeDescription
1SrcTOpenCLMtxVec *
2SrcIndexint
3Indexint
4Lenint
Remarks:

Size and TOpenCLBase::Complex properties of calling object are adjusted automatically. Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0.

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