TMtx::ErfcInv Method

Overload List

#SignatureDescription
1TMtxVec *ErfcInv();Calculates the inverse complementary error function for all calling object elements in-place.
2TMtxVec *ErfcInv(TMtxVec *Src);Calculates the inverse complementary error function for all Src object values.
3TMtxVec *ErfcInv(int Index, int Len);Calculates the inverse complementary error function for calling object elements [Index]..[Index+Len-1] in-place.
4TMtxVec *ErfcInv(TMtxVec *Src, int SrcIndex, int Index, int Len);Calculates the inverse complementary error function for Src object elements [SrcIndex]..[SrcIndex+Len-1].

Overload 1: TMtxVec *ErfcInv();

Calculates the inverse complementary error function for all calling object elements in-place.

Returns: x such that Erfc(x) equals the element value, for elements in 0..2.

Remarks:

Takes the complementary probability, which keeps both tails exact: y/2 is a power-of-two scaling and 1-y/2 is exact by Sterbenz. Prefer this over ErfInv(1-y), which caps the small-y tail at an absolute 5.55E-17.

See Also: TMtx::ErfInv, TMtx::Erfc
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *ErfcInv(TMtxVec *Src);

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

#NameTypeDescription
1SrcTMtxVec *
Remarks:

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

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 3: TMtxVec *ErfcInv(int Index, int Len);

Calculates the inverse complementary error function 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::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 4: TMtxVec *ErfcInv(TMtxVec *Src, int SrcIndex, int Index, int Len);

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

#NameTypeDescription
1SrcTMtxVec *
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::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler