linalg
1.4.3
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Solves a system of M QR-factored equations of N unknowns. More...
Private Member Functions | |
subroutine | solve_qr_no_pivot_mtx (a, tau, b, work, olwork, err) |
Solves a system of M QR-factored equations of N unknowns where M >= N. More... | |
subroutine | solve_qr_no_pivot_vec (a, tau, b, work, olwork, err) |
Solves a system of M QR-factored equations of N unknowns where M >= N. More... | |
subroutine | solve_qr_pivot_mtx (a, tau, jpvt, b, work, olwork, err) |
Solves a system of M QR-factored equations of N unknowns where the QR factorization made use of column pivoting. More... | |
subroutine | solve_qr_pivot_vec (a, tau, jpvt, b, work, olwork, err) |
Solves a system of M QR-factored equations of N unknowns where the QR factorization made use of column pivoting. More... | |
Solves a system of M QR-factored equations of N unknowns.
Definition at line 222 of file linalg_solve.f90.
|
private |
Solves a system of M QR-factored equations of N unknowns where M >= N.
[in] | a | On input, the M-by-N QR factored matrix as returned by qr_factor. On output, the contents of this matrix are restored. Notice, M must be greater than or equal to N. |
[in] | tau | A MIN(M, N)-element array containing the scalar factors of the elementary reflectors as returned by qr_factor. |
[in] | b | On input, the M-by-NRHS right-hand-side matrix. On output, the first N columns are overwritten by the solution matrix X. |
[out] | work | An optional input, that if provided, prevents any local memory allocation. If not provided, the memory required is allocated within. If provided, the length of the array must be at least olwork . |
[out] | olwork | An optional output used to determine workspace size. If supplied, the routine determines the optimal size for work , and returns without performing any actual calculations. |
[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 814 of file linalg_solve.f90.
|
private |
Solves a system of M QR-factored equations of N unknowns where M >= N.
[in] | a | On input, the M-by-N QR factored matrix as returned by qr_factor. On output, the contents of this matrix are restored. Notice, M must be greater than or equal to N. |
[in] | tau | A MIN(M, N)-element array containing the scalar factors of the elementary reflectors as returned by qr_factor. |
[in] | b | On input, the M-element right-hand-side vector. On output, the first N elements are overwritten by the solution vector X. |
[out] | work | An optional input, that if provided, prevents any local memory allocation. If not provided, the memory required is allocated within. If provided, the length of the array must be at least olwork . |
[out] | olwork | An optional output used to determine workspace size. If supplied, the routine determines the optimal size for work , and returns without performing any actual calculations. |
[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 929 of file linalg_solve.f90.
|
private |
Solves a system of M QR-factored equations of N unknowns where the QR factorization made use of column pivoting.
[in] | a | On input, the M-by-N QR factored matrix as returned by qr_factor. On output, the contents of this matrix are altered. |
[in] | tau | A MIN(M, N)-element array containing the scalar factors of the elementary reflectors as returned by qr_factor. |
[in] | jpvt | An N-element array, as output by qr_factor, used to track the column pivots. |
[in] | b | On input, the MAX(M, N)-by-NRHS matrix where the first M rows contain the right-hand-side matrix B. On output, the first N rows are overwritten by the solution matrix X. |
[out] | work | An optional input, that if provided, prevents any local memory allocation. If not provided, the memory required is allocated within. If provided, the length of the array must be at least olwork . |
[out] | olwork | An optional output used to determine workspace size. If supplied, the routine determines the optimal size for work , and returns without performing any actual calculations. |
[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 1042 of file linalg_solve.f90.
|
private |
Solves a system of M QR-factored equations of N unknowns where the QR factorization made use of column pivoting.
[in] | a | On input, the M-by-N QR factored matrix as returned by qr_factor. On output, the contents of this matrix are altered. |
[in] | tau | A MIN(M, N)-element array containing the scalar factors of the elementary reflectors as returned by qr_factor. |
[in] | jpvt | An N-element array, as output by qr_factor, used to track the column pivots. |
[in] | b | On input, the MAX(M, N)-element array where the first M elements contain the right-hand-side vector B. On output, the first N elements are overwritten by the solution vector X. |
[out] | work | An optional input, that if provided, prevents any local memory allocation. If not provided, the memory required is allocated within. If provided, the length of the array must be at least olwork . |
[out] | olwork | An optional output used to determine workspace size. If supplied, the routine determines the optimal size for work , and returns without performing any actual calculations. |
[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 1229 of file linalg_solve.f90.