linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Solves a triangular system of equations. More...
Public Member Functions | |
solve_tri_mtx | |
solve_tri_mtx_cmplx | |
solve_tri_vec | |
solve_tri_vec_cmplx | |
Solves a triangular system of equations.
[in] | lside | Set to true to solve \( op(A) X = \alpha B \); else, set to false to solve \( X op(A) = \alpha B \). |
[in] | upper | Set to true if A is an upper triangular matrix; else, set to false if A is a lower triangular matrix. |
[in] | trans | Set to true if \( op(A) = A^T \) ( \( op(A) = A^H \) in the complex case); else, set to false if \( op(A) = A \). |
[in] | nounit | Set to true if A is not a unit-diagonal matrix (ones on every diagonal element); else, set to false if A is a unit-diagonal matrix. |
[in] | alpha | The scalar multiplier to B. |
[in] | a | If lside is true, the M-by-M triangular matrix on which to operate; else, if lside is false, the N-by-N triangular matrix on which to operate. |
[in,out] | b | On input, the M-by-N right-hand-side. On output, the M-by-N solution. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
[in] | upper | Set to true if A is an upper triangular matrix; else, set to false if A is a lower triangular matrix. |
[in] | trans | Set to true if \( op(A) = A^T \) ( \( op(A) = A^H \) in the complex case); else, set to false if \( op(A) = A \). |
[in] | nounit | Set to true if A is not a unit-diagonal matrix (ones on every diagonal element); else, set to false if A is a unit-diagonal matrix. |
[in] | a | The N-by-N triangular matrix. |
[in,out] | x | On input, the N-element right-hand-side array. On output, the N-element solution array. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
Definition at line 2316 of file linalg.f90.