Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *Inv(int Index, int Len) const; | Calculate the inverse of calling object elements [Index]..[Index+Len-1] in-place. |
| 2 | TMtxVec *Inv(double Threshold) const; | Calculate the inverse of all calling object elements in-place. |
| 3 | TMtxVec *Inv(double Threshold, int Index, int Len) const; | Calculate the inverse of calling object elements [Index]..[Index+Len-1] in-place. |
| 4 | TMtxVec *Inv(TMtxVec *X) const; | Calculate the inverse of all X object elements without the limiting operating. |
| 5 | TMtxVec *Inv(TMtxVec *X, int XIndex, int Index, int Len) const; | Calculate the inverse of X object elements [XIndex]..[XIndex+Len-1] without limiting operating. |
| 6 | TMtxVec *Inv(TMtxVec *X, double Threshold) const; | Calculate the inverse of all X object elements anmd store the results to calling object elements. |
| 7 | TMtxVec *Inv(TMtxVec *X, double Threshold, int XIndex, int Index, int Len) const; | Calculate the inverse of X object elements [XIndex]..[XIndex+Len-1]. |
| 8 | TMtx *Inv() const; | Calculates matrix inverse (Mtx^-1). |
| 9 | TMtx *Inv(TMtxType MtxType) const; | Compute inverse of the matrix. |
Overload 1: TMtxVec *Inv(int Index, int Len) const;
Calculate the inverse of 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/underrun.
Overload 2: TMtxVec *Inv(double Threshold) const;
Calculate the inverse of all calling object elements in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Threshold | double |
The computation occurs after first limiting the magnitude of each element by the lower bound of Threshold. The limiting operation is performed to avoid division by zero. Since Threshold 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.
Overload 3: TMtxVec *Inv(double Threshold, int Index, int Len) const;
Calculate the inverse of calling object elements [Index]..[Index+Len-1] in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Threshold | double | |
| 2 | Index | int | |
| 3 | Len | int |
Limit the magnitude of each element by the lower bound of Threshold. An exception is raised if array borders are overrun/underrun.
Overload 4: TMtxVec *Inv(TMtxVec *X) const;
Calculate the inverse of all X object elements without the limiting operating.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * |
Store the results in calling object. Size and Matrix::Complex property of calling object are adjusted automatically. Does not compute matrix inverse. The limiting of the magnitude of each element by the lower bound of Threshold is left out.
Overload 5: TMtxVec *Inv(TMtxVec *X, int XIndex, int Index, int Len) const;
Calculate the inverse of X object elements [XIndex]..[XIndex+Len-1] without limiting operating.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | XIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if X and calling object Matrix::Complex property does not match or array borders are overrun/underrun.
Overload 6: TMtxVec *Inv(TMtxVec *X, double Threshold) const;
Calculate the inverse of all X object elements anmd store the results to calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Threshold | double |
Size and Matrix::Complex property of calling obhect are adjusted automatically. The computation occurs after first limiting the magnitude of each element by the lower bound of Threshold. The limiting operation is performed to avoid division by zero. Since Threshold represents a magnitude, it is always real and must always be positive.
Note
For complex versions, the magnitude of the input is limited, but the phase remains unchanged. Zero-valued input is assumed to have zero phase.
Overload 7: TMtxVec *Inv(TMtxVec *X, double Threshold, int XIndex, int Index, int Len) const;
Calculate the inverse of X object elements [XIndex]..[XIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Threshold | double | |
| 3 | XIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Limit the magnitude of each element by the lower bound of Threshold. Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if X and calling object Matrix::Complex property do not match or array borders are overrun/underrun.
Overload 8: TMtx *Inv() const;
Calculates matrix inverse (Mtx^-1).
Calculate the inverse (Mtx^-1) of the calling matrix. If the calling matrix is not Matrix::Quadratic, an exception is raised. Parameter TMtxType determines which optimized method will be used for calculating the inverse matrix. If MtxType is omitted, the default value mtGeneral (general quadratic matrix) is used.
Note
The MtxType parameter is not verified. To determine if the calling matrix type is actually MtxType, use the Matrix::DetectMtxType method.
Overload 9: TMtx *Inv(TMtxType MtxType) const;
Compute inverse of the matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | MtxType | TMtxType |
Specify the matrix type to select the most performance efficient algorithm.