TOpenCLVector::Abs Method

Overload List

#SignatureDescription
1TOpenCLBase *Abs(TOpenCLBase *X, int XIndex, int Index, int Len);
2TOpenCLMtxVec *Abs();Absolute values.
3TOpenCLMtxVec *Abs(int Index, int Len);Calculate the absolute value for calling object elements [Index]..[Index+Len-1].
4TOpenCLMtxVec *Abs(TOpenCLMtxVec *X);Calculate the absolute value for all X object and store the results in the calling object.
5TOpenCLMtxVec *Abs(TOpenCLMtxVec *X, int XIndex, int Index, int Len);Calculate the absolute value of X object elements [XIndex]..[XIndex+Len-1].

Overload 1: TOpenCLBase *Abs(TOpenCLBase *X, int XIndex, int Index, int Len);

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

Overload 2: TOpenCLMtxVec *Abs();

Absolute values.

Remarks:

Calculate the absolute value of all calling object elemets in-place.

See Also: TOpenCLVector::Mag
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

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

Calculate the absolute value for calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if array borders are overrun or underrun.

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

Overload 4: TOpenCLMtxVec *Abs(TOpenCLMtxVec *X);

Calculate the absolute value for all X object and store the results in the calling object.

#NameTypeDescription
1XTOpenCLMtxVec *
Remarks:

Size and TOpenCLBase::Complex properties of calling object are adjusted automatically.

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

Overload 5: TOpenCLMtxVec *Abs(TOpenCLMtxVec *X, int XIndex, int Index, int Len);

Calculate the absolute value of X object elements [XIndex]..[XIndex+Len-1].

#NameTypeDescription
1XTOpenCLMtxVec *
2XIndexint
3Indexint
4Lenint
Remarks:

Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun.

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