Solve Triangular Equations VI
- Updated2023-02-21
- 10 minute(s) read
Solve Triangular Equations VI
Owning Palette: Sparse Linear Algebra VIs
Requires: Multicore Analysis and Sparse Matrix Toolkit
Solves a sparse linear system AX = Y by forward or backward substitution, where A must be a triangular matrix.
Solve Triangular Equations (DBL)

![]() |
Input Matrix specifies the input sparse triangular matrix. Input Matrix must be square. The number of elements in Known Vector must be equal to the number of rows and columns in Input Matrix. | ||||
![]() |
Known Vector specifies an array of known values. The number of elements in the Known Vector must be equal to the number of rows and columns in the Input Matrix. | ||||
![]() |
triangular type specifies whether Input Matrix is a lower or upper triangular matrix.
|
||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Solution Vector returns the solution X to AX = Y where A is the Input Matrix and Y is the Known Vector. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Solve Triangular Equations (SGL)

![]() |
Input Matrix specifies the input sparse triangular matrix. Input Matrix must be square. The number of elements in Known Vector must be equal to the number of rows and columns in Input Matrix. | ||||
![]() |
Known Vector specifies an array of known values. The number of elements in the Known Vector must be equal to the number of rows and columns in the Input Matrix. | ||||
![]() |
triangular type specifies whether Input Matrix is a lower or upper triangular matrix.
|
||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Solution Vector returns the solution X to AX = Y where A is the Input Matrix and Y is the Known Vector. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Solve Triangular Equations (CDB)

![]() |
Input Matrix specifies the input sparse triangular matrix. Input Matrix must be square. The number of elements in Known Vector must be equal to the number of rows and columns in Input Matrix. | ||||
![]() |
Known Vector specifies an array of known values. The number of elements in the Known Vector must be equal to the number of rows and columns in the Input Matrix. | ||||
![]() |
triangular type specifies whether Input Matrix is a lower or upper triangular matrix.
|
||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Solution Vector returns the solution X to AX = Y where A is the Input Matrix and Y is the Known Vector. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Solve Triangular Equations (CSG)

![]() |
Input Matrix specifies the input sparse triangular matrix. Input Matrix must be square. The number of elements in Known Vector must be equal to the number of rows and columns in Input Matrix. | ||||
![]() |
Known Vector specifies an array of known values. The number of elements in the Known Vector must be equal to the number of rows and columns in the Input Matrix. | ||||
![]() |
triangular type specifies whether Input Matrix is a lower or upper triangular matrix.
|
||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Solution Vector returns the solution X to AX = Y where A is the Input Matrix and Y is the Known Vector. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Solve Triangular Equations (nRHS DBL)

![]() |
Input Matrix specifies the input sparse triangular matrix. Input Matrix must be square. The number of row in Known Matrix must be equal to the number of rows and columns in Input Matrix. | ||||
![]() |
Known Matrix specifies a matrix of known values. The number of rows in the Known Matrix must be equal to the number of rows and columns in the Input Matrix. | ||||
![]() |
triangular type specifies whether Input Matrix is a lower or upper triangular matrix.
|
||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Solution Matrix returns the solution X to AX = Y where A is the Input Matrix and Y is the Known Matrix. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Solve Triangular Equations (nRHS SGL)

![]() |
Input Matrix specifies the input sparse triangular matrix. Input Matrix must be square. The number of row in Known Matrix must be equal to the number of rows and columns in Input Matrix. | ||||
![]() |
Known Matrix specifies a matrix of known values. The number of rows in the Known Matrix must be equal to the number of rows and columns in the Input Matrix. | ||||
![]() |
triangular type specifies whether Input Matrix is a lower or upper triangular matrix.
|
||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Solution Matrix returns the solution X to AX = Y where A is the Input Matrix and Y is the Known Matrix. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Solve Triangular Equations (nRHS CDB)

![]() |
Input Matrix specifies the input sparse triangular matrix. Input Matrix must be square. The number of row in Known Matrix must be equal to the number of rows and columns in Input Matrix. | ||||
![]() |
Known Matrix specifies a matrix of known values. The number of rows in the Known Matrix must be equal to the number of rows and columns in the Input Matrix. | ||||
![]() |
triangular type specifies whether Input Matrix is a lower or upper triangular matrix.
|
||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Solution Matrix returns the solution X to AX = Y where A is the Input Matrix and Y is the Known Matrix. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Solve Triangular Equations (nRHS CSG)

![]() |
Input Matrix specifies the input sparse triangular matrix. Input Matrix must be square. The number of row in Known Matrix must be equal to the number of rows and columns in Input Matrix. | ||||
![]() |
Known Matrix specifies a matrix of known values. The number of rows in the Known Matrix must be equal to the number of rows and columns in the Input Matrix. | ||||
![]() |
triangular type specifies whether Input Matrix is a lower or upper triangular matrix.
|
||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Solution Matrix returns the solution X to AX = Y where A is the Input Matrix and Y is the Known Matrix. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Solve Triangular Equations Details
The following table lists the support characteristics of this VI.
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Yes |



















