linalg
1.4.3
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...
Private Member Functions | |
subroutine | form_lu_all (lu, ipvt, u, p, err) |
Extracts the L, U, and P matrices from the output of the lu_factor routine. More... | |
subroutine | form_lu_only (lu, u, err) |
Extracts the L, and U matrices from the output of the lu_factor routine. More... | |
Extracts the L and U matrices from the condensed [L\U] storage format used by the lu_factor.
Definition at line 95 of file linalg_factor.f90.
|
private |
Extracts the L, U, and P matrices from the output of the lu_factor routine.
[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. |
[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 498 of file linalg_factor.f90.
|
private |
Extracts the L, and U matrices from the output of the lu_factor routine.
[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. |
[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 575 of file linalg_factor.f90.