clVector::Erfc Method

Overload List

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

Overload 1: TOpenCLMtxVec *Erfc() const;

Complementary error functon of values.

Remarks:

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

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clVector a;

    a.CopyFromArray(DewArray<float>{1, 5.5, -1.6, 6}); // a = [1, 5.5, -1.6, 6]
    a.Erfc();
}
See Also: ErfInv, clVector::Erfc
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: TOpenCLMtxVec *Erfc(TOpenCLMtxVec *Src) const;

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

#NameTypeDescription
1SrcTOpenCLMtxVec *
Remarks:

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

Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

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

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::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

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

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::clVector · Dew.Math/clMtxExpr.h · Cross-compiler