Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *ErfcInv(); | Calculates the inverse complementary error function for all calling object elements in-place. |
| 2 | TMtxVec *ErfcInv(TMtxVec *Src); | Calculates the inverse complementary error function for all Src object values. |
| 3 | TMtxVec *ErfcInv(int Index, int Len); | Calculates the inverse complementary error function for calling object elements [Index]..[Index+Len-1] in-place. |
| 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]. |
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.
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.
Overload 2: TMtxVec *ErfcInv(TMtxVec *Src);
Calculates the inverse complementary error function for all Src object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * |
Stores the result in calling object. Size and TMtx::Complex properties of calling object are adjusted automatically.
Overload 3: TMtxVec *ErfcInv(int Index, int Len);
Calculates the inverse complementary error function for calling object elements [Index]..[Index+Len-1] in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
An exception is raised if array borders are overrun or underrun.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | SrcIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Stores the result in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun.