TOpenCLVector::Erfc Method

Overload List

#SignatureDescription
1TOpenCLBase *Erfc(TOpenCLBase *Src, int SrcIndex, int Index, int Len);
2TOpenCLMtxVec *Erfc();Complementary error functon of values.
3TOpenCLMtxVec *Erfc(TOpenCLMtxVec *Src);Calculates the complementary error function value for all Src object values.
4TOpenCLMtxVec *Erfc(int Index, int Len);Calculates the complementary error function value for calling object elements [Index]..[Index+Len-1] in-place.
5TOpenCLMtxVec *Erfc(TOpenCLMtxVec *Src, int SrcIndex, int Index, int Len);Calculates the complementary error function value for Src object elements [SrcIndex]..[SrcIndex+Len-1].

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

Complementary error functon of values.

Remarks:

Calculates the complementary error function value for all object values in-place.

Examples
#include "Units.clMtxVec.h"

using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Math::Units::ClMtxVec;

void Example()
{
    TOpenCLVector* a;
    CreateIt(a);
    a->CopyFromArray( DewArray<double>{1,5.5,-1.6,6});
    a->Erfc();
    FreeIt(a);
}
See Also: ErfInv, TOpenCLVector::Erfc
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 3: TOpenCLMtxVec *Erfc(TOpenCLMtxVec *Src);

Calculates the complementary error function value for all Src object values.

#NameTypeDescription
1SrcTOpenCLMtxVec *
Remarks:

Stores the result in calling object. Size and TOpenCLBase::Complex properties of calling object are adjusted automatically.

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

Overload 4: TOpenCLMtxVec *Erfc(int Index, int Len);

Calculates the complementary error function value for calling object elements [Index]..[Index+Len-1] in-place.

#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 5: TOpenCLMtxVec *Erfc(TOpenCLMtxVec *Src, int SrcIndex, int Index, int Len);

Calculates the complementary error function value for Src object elements [SrcIndex]..[SrcIndex+Len-1].

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

Stores the result 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