TMtx.ErfcInv Method

Overload List

#SignatureDescription
1TMtxVec ErfcInvCalculates the inverse complementary error function for all calling object elements in-place.
└ indexed: TMtxVec ErfcInv(Int32 Index, Int32 Len)
2TMtxVec ErfcInv(TMtxVec Src)Calculates the inverse complementary error function for all Src object values.
└ indexed: TMtxVec ErfcInv(TMtxVec Src, Int32 SrcIndex, Int32 Index, Int32 Len)

Overload 1: TMtxVec ErfcInv

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

Result: stored in self (calling object), returns self for chaining

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.

Indexed: TMtxVec ErfcInv(Int32 Index, Int32 Len)

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

#NameTypeDescription
1IndexInt32start index
2LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

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

Overload 2: TMtxVec ErfcInv(TMtxVec Src)

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

#NameTypeDescription
1SrcTMtxVecsource TVec or TMtx

Result: stored in self (calling object), returns self for chaining

Remarks:

Stores the result in calling object. Size and Dew.Math.TMtxVec.Complex properties of calling object are adjusted automatically.

Indexed: TMtxVec ErfcInv(TMtxVec Src, Int32 SrcIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1SrcTMtxVecsource TVec or TMtx
2SrcIndexInt32source start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

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