Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtx *InvElem(); | The inverse of matrix elements. |
| 2 | TMtx *InvElem(double Threshold); | Invert all Mtx elements and store them in the calling matrix. |
| 3 | TMtx *InvElem(TMtx *SrcMtx, const double Threshold = 5.5626846462680084E-309); | Convert all Mtx elements |
Overload 1: TMtx *InvElem();
The inverse of matrix elements.
Calculates the inverse of all matrix elements in place. The computation occurs after first limiting the magnitude of each elements by the lower bound of Treshhold. The limiting operation is performed to avoid division by zero. Since Treshold represents a magnitude, it is always real and must always be positive. For complex versions, the magnitude of the input is limited, but the phase remains unchanged. Zero-valued input is assumed to have zero phase. To bypass the limiting operation set the Threshold to zero.
Overload 2: TMtx *InvElem(double Threshold);
Invert all Mtx elements and store them in the calling matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Threshold | double |
Overload 3: TMtx *InvElem(TMtx *SrcMtx, const double Threshold = 5.5626846462680084E-309);
Convert all Mtx elements
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SrcMtx | TMtx * | |
| 2 | Threshold = 5.5626846462680084E-309 | const double |
Xtore them in the calling matrix. The TMtx::Rows, TMtx::Cols and TMtx::Complex properties of the calling matrix are set implicitly to match Mtx matrix. If Treshold is omitted then the default value 1/MAXNUM is used.