linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Extracts the L and U matrices from the condensed [L\U] storage format used by the lu_factor. More...
Public Member Functions | |
form_lu_all | |
form_lu_all_cmplx | |
form_lu_only | |
form_lu_only_cmplx | |
Extracts the L and U matrices from the condensed [L\U] storage format used by the lu_factor.
[in,out] | lu | On input, the N-by-N matrix as output by lu_factor. On output, the N-by-N lower triangular matrix L. |
[in] | ipvt | The N-element pivot array as output by lu_factor. |
[out] | u | An N-by-N matrix where the U matrix will be written. |
[out] | p | An N-by-N matrix where the row permutation matrix will be written. |
[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,out] | lu | On input, the N-by-N matrix as output by lu_factor. On output, the N-by-N lower triangular matrix L. |
[out] | u | An N-by-N matrix where the U matrix will be written. |
[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.
|
Notice, as both L and U are triangular in structure, the above equations can be solved by forward and backward substitution.
Definition at line 967 of file linalg.f90.