Files
mql5-skills/skills/mql5/references/docs/06-matrix/0454-matrix-openblas-linear-equations-inversetriangular.md
T
2026-06-23 21:47:51 +08:00

50 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# InverseTriangular
Computes the inverse of a upper or lower triangular matrix A. LAPACK function [TRTRI](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-fortran/2025-2/trtri.html).
Computing for type matrix<double>
```
bool  matrix::InverseTriangular(
   matrix&         AI             // inverse of matrix A
   );
```
Computing for type matrix<float>
```
bool  matrixf::InverseTriangular(
   matrixf&        AI             // inverse of matrix A
   );
```
Computing for type matrix<complex>
```
bool  matrixc::InverseTriangular(
   matrixc&        AI             // inverse of matrix A
   );
```
Computing for type matrix<complexf>
```
bool  matrixcf::InverseTriangular(
   matrixcf&       AI             // inverse of matrix A
   );
```
Parameters
AI
[out]  Inverted matrix.
Return Value
Return true if successful, otherwise false in case of an [error](/en/docs/constants/errorswarnings/errorcodes).